Radio station identification picture generation method and device, computer equipment and storage medium

By analyzing and synthesizing image information in radio data and generating radio identification pictures, the problem that DAB radio devices cannot provide visual information is solved, and the user experience is improved.

CN119027545APending Publication Date: 2024-11-26BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411065182.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Existing DAB radio devices cannot provide visual information and cannot meet users' needs for visual effects.

Method used

By analyzing the received target data, directory information and object information are obtained, including radio station information and picture data, and corresponding picture objects are synthesized to generate radio identification pictures and provided to users.

Benefits of technology

It realizes the visual information of the radio station to users and enhances the user experience of DAB radio equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027545A_ABST
    Figure CN119027545A_ABST
Patent Text Reader

Abstract

The invention discloses a radio station identification picture generation method and device, computer equipment and a storage medium, and the method comprises the steps: analyzing target data to obtain directory information and object information if the target data is received, the directory information comprises at least one piece of radio station information, and the object information comprises at least one piece of picture data; and confirming all the picture data corresponding to the radio station information to obtain at least one target picture data, and synthesizing all the target picture data into a picture object corresponding to the radio station information. The identification picture of the radio station can be generated, and visual information is provided for a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital radio stations, and in particular to a method, device, computer equipment and storage medium for generating a radio station logo image. Background Art

[0002] DAB (Digital Audio Broadcasting) is a digital signal radio station, a new generation of radio station after AM and FM traditional analog radio stations. DAB radio uses digital signal processing technology for audio broadcasting, which can provide higher quality sound and is widely favored by users.

[0003] Currently, the main function of DAB radio equipment is to play radio stations, but playing radio stations mainly plays the radio content in the form of sound and can only provide audio information. However, as users have higher and higher requirements for DAB radio equipment, users also have certain requirements for whether DAB radio equipment can provide visual effects, but most DAB radio equipment currently cannot provide visual information. Summary of the invention

[0004] The embodiments of the present invention provide a method, an apparatus, a computer device and a storage medium for generating a radio station identification image, aiming to solve the problem that current radio equipment cannot provide visual information.

[0005] In a first aspect, an embodiment of the present invention provides a method for generating a station identification picture, the method comprising:

[0006] If target data is received, parsing the target data to obtain directory information and object information, wherein the directory information includes at least one station information, and the object information includes at least one picture data;

[0007] All the picture data corresponding to the radio station information are confirmed to obtain at least one target picture data, and all the target picture data are synthesized into a picture object corresponding to the radio station information.

[0008] In a second aspect, an embodiment of the present invention further provides a device for generating a station identification image, the device comprising:

[0009] A first parsing unit, configured to parse the target data to obtain directory information and object information if target data is received, wherein the directory information includes at least one station information and the object information includes at least one picture data;

[0010] The first synthesis unit is used to confirm all the picture data corresponding to the radio station information to obtain at least one target picture data, and synthesize all the target picture data into a picture object corresponding to the radio station information.

[0011] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor connected to the memory, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0012] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.

[0013] The embodiment of the present invention provides a method, device, computer equipment and storage medium for generating a radio station identification image. The method includes: if target data is received, parsing the target data to obtain directory information and object information, wherein the directory information includes at least one radio station information, and the object information includes at least one image data; confirming all the image data corresponding to the radio station information to obtain at least one target image data, and synthesizing all the target image data into an image object corresponding to the radio station information. The embodiment of the present invention can parse the target data to obtain directory information and object information when receiving the target data, the directory information includes radio station information, the object information includes image data, the directory information can include multiple radio station information, different radio station information corresponds to different radio stations, and each radio station information has image data corresponding thereto, after parsing the target data, confirming all the image data corresponding to the radio station information to obtain the target image data, and then synthesizing the target image data into an image object corresponding to the radio station information, the image object is the LOGO of the radio station, so as to provide visual information for the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0015] Figure 1 It is a schematic diagram of the flow of a method for generating a radio station logo image provided by an embodiment of the present invention;

[0016] Figure 2 is a schematic block diagram of a device for generating a radio station logo image provided by an embodiment of the present invention;

[0017] Figure 3 It is a schematic block diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, operations, elements, components and / or groups thereof.

[0020] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, the singular forms of "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" used in the specification of the present invention and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0021] See also Figure 1 , Figure 1 The flowchart of the radio station logo image generation method provided by the embodiment of the present invention is as follows. The radio station logo image generation method of the embodiment of the present invention can be applied to a computer device, which can be a vehicle-mounted control device, for receiving target data and generating a picture object according to the target data, and then sending the picture object to the radio station device so that the radio station device displays the corresponding radio station logo. Figure 1 As shown, the method includes steps S100 to S110.

[0022] S100: If target data is received, parse the target data to obtain directory information and object information, wherein the directory information includes at least one station information, and the object information includes at least one picture data.

[0023] In the embodiments of the present invention, the radio device is often installed in a car. Of course, in addition to being installed in a car or other equipment, it can also be used as an independent device in any scene. For example, it can be used in a home scene to listen to radio programs through the radio device. A DAB radio device is a type of radio device, which is a digital signal broadcasting station. The following description takes a DAB radio device as an example.

[0024] When the radio service of the DAB radio device is started, the radio data is continuously received, and when the target data is detected in the radio data, the target data is parsed. The target data may be MOT data (Multi-Object Tracking), that is, when the DAB radio device is started, it is determined whether the MOT data is received, and when the MOT data is received, the received data is parsed.

[0025] By parsing the target data, directory information and object information can be obtained. The directory information includes at least one radio station information, and the object information includes at least one picture data. One radio station information can correspond to one radio station, that is, when there are multiple radio stations, the directory information can include multiple radio station information, and when there is only one radio station, the directory information includes one radio station information. The radio station information may include file name, transmission ID, file size, file header size, and file object size. The object information contains the radio station's LOGO picture file, that is, picture data. For example, when the target data is MOT data, the directory information is a MOT directory, which includes the header information of the MOT object and the parameters describing the entire file set, and the object information is a MOT object, which includes a LOGO picture file.

[0026] S110, confirming all the picture data corresponding to the radio station information to obtain at least one target picture data, and synthesizing all the target picture data into a picture object corresponding to the radio station information.

[0027] In the embodiment of the present invention, the directory information may include multiple radio station information, and each radio station information has corresponding picture data, so it is necessary to confirm all the picture data corresponding to each radio station information. When confirming, the picture data of each radio station information can be confirmed one by one and set as the target picture data. Then all the target picture data are synthesized into a picture object, which is the LOGO of the radio station.

[0028] Depending on the size of the picture object, when receiving the target data, it may take only one frame to receive all the picture data corresponding to a station information, or it may take multiple frames to receive all the picture data corresponding to a station information. Therefore, when synthesizing a picture object, it is necessary to confirm that all the picture data corresponding to a station information has been received. If and only if the reception is completed, all the picture data will be synthesized into a picture object.

[0029] In actual use, first start the DAB radio station, tune the DAB radio station to the corresponding frequency, start the radio service, each frequency includes one or more radio programs, then receive the target data sent by the radio station, and parse the target data to obtain directory information and object information. Take a frequency point including five radio programs as an example. If the five radio programs all have LOGO, the directory information includes five radio information, and the corresponding object information includes the picture data of the LOGO pictures of the five radio information. If only three radio programs have LOGO among the five radio programs, the directory information includes three radio information, and the corresponding object information includes the picture data of the LOGO pictures of the three radio information. Then confirm the picture data corresponding to each radio information. For example, you can confirm which radio information it belongs to based on the ID of the picture data. The ID of the picture data can be the name of a specific radio station. Finally, all the picture data of each radio information is synthesized into a picture object, so as to obtain the LOGO picture corresponding to each radio information.

[0030] In some embodiments, such as this embodiment, the method for generating a station logo image further includes the following steps:

[0031] The picture object is sent to a radio device so that the radio device displays the picture object.

[0032] In the embodiment of the present invention, after the picture object is synthesized, the picture object can be sent to the radio device, for example, the picture object can be sent to the DAB radio device. It should be noted that when the frequency point corresponding to the DAB radio device has multiple radio programs, and each radio program has a corresponding LOGO, it is necessary to synthesize the picture object of each radio program and then send all the picture objects together to the DAB radio device.

[0033] In some embodiments, such as this embodiment, the method for generating a station logo image further includes the following steps:

[0034] Detecting whether there is a directory file matching the radio station information in the preset storage directory;

[0035] If a directory file matching the radio station information exists in the preset storage directory, the step of confirming all the picture data corresponding to the radio station information to obtain a plurality of target picture data and synthesizing all the target picture data into a picture object corresponding to the radio station information is entered;

[0036] If there is no directory file matching the radio station information in the preset storage directory, a directory file matching the radio station information is created according to the radio station information.

[0037] In an embodiment of the present invention, a preset storage directory is used to store the image data of each radio station. When receiving target data, it is possible to first confirm whether there is a directory file matching the radio station information in the preset storage directory. If so, the image data is parsed to synthesize the image object. If not, a directory file is created.

[0038] For example, if there are five radio programs at a certain frequency point, and each radio program has a corresponding LOGO, then after parsing the target data, you can first confirm whether there is a directory file matching each radio program in the preset storage directory. If it exists, continue to parse the image data. If not, create the directory files in sequence. Alternatively, after parsing the target data, you can first confirm the directory file of a radio program. If it exists, parse the image data corresponding to the radio program. If not, create the corresponding directory file, synthesize the image object corresponding to the radio program, and then confirm the directory file of the next radio program until the creation of the image objects of all radio programs is completed.

[0039] In some embodiments, such as the present embodiment, the step of synthesizing all the target picture data into a picture object corresponding to the radio station information further includes the following steps:

[0040] confirming whether the reception of all target picture data associated with the radio station information is completed;

[0041] If the reception of all target picture data associated with the radio station information is completed, all the target picture data are sequentially stored in the directory file according to the serial number of each target picture data;

[0042] All the target picture data in the directory file are synthesized into the picture object.

[0043] In the embodiment of the present invention, the image data obtained by parsing the target data may be accompanied by an identifier, which may be a number + name. For example, for a radio program A, the corresponding image data is accompanied by a name A. If the radio program A has multiple image data, each image data is accompanied by an identifier of A + a number. The image data may be classified according to the identifier of each image data, thereby matching the radio program with the image data.

[0044] After receiving all the picture data of a radio program, the picture data corresponding to the radio program is set as the target picture data, and all the target picture data are collectively referred to as picture objects to obtain the LOGO corresponding to the radio program. After obtaining the LOGO of a radio program, continue to synthesize the picture data of the next radio program until the LOGOs of all radio programs are obtained.

[0045] In some embodiments, such as the present embodiment, the station information includes a station ID and a picture object size, and the step of confirming whether the reception of all target picture data associated with the station information is completed further includes the following steps:

[0046] confirming target picture data associated with the radio station ID according to the radio station ID;

[0047] If the sum of the sizes of all the target picture data is consistent with the picture object size, the reception of all the target picture data associated with the station information is completed.

[0048] In an embodiment of the present invention, the radio station information may include the size information of the picture object, that is, when the radio station information is obtained, the size of the picture object corresponding to the radio station information may be obtained. After the radio station information is associated with the picture data, the sum of the sizes of all the picture data is confirmed and compared with the size of the picture object. If they are consistent, it is confirmed that the reception of all the picture data is completed. If they are inconsistent, the target data can be continued to be received or the target data can be re-parsed. In addition, when receiving the picture data, the picture data can also be verified by a cyclic redundancy check technology, and the picture data is synthesized only after the verification is correct. For example, when a radio station information corresponds to multiple picture data, when receiving each picture data of the radio station information, a verification is first performed, and after the verification is completed, the next picture data is received until the reception of all the picture data is completed. When all the picture data are received, the verification of all the picture data is also completed, and all the picture data can be directly synthesized.

[0049] In some embodiments, such as this embodiment, the method for generating a station logo image further includes the following steps:

[0050] If new target data is detected, the step of parsing the target data to obtain directory information and object information is entered.

[0051] In the embodiment of the present invention, when the LOGO of the radio program is changed, new target data can be obtained, and the target data can be parsed to obtain new picture data, and then the above steps are repeated to complete the update of the LOGO. In addition, when the target data is obtained, it can be detected whether there is a picture object matching the radio station information. If so, the picture data may not be synthesized, and if not, the picture data may be synthesized.

[0052] Figure 2 FIG. 2 is a schematic block diagram of a radio station logo image generating device 200 provided in an embodiment of the present invention. Figure 2As shown, corresponding to the above radio station logo image generation method, the present invention also provides a radio station logo image generation device 200. The radio station logo image generation device 200 includes a unit for executing the above radio station logo image generation method. Figure 2 The station logo image generating device 200 includes a first parsing unit 201 and a first synthesizing unit 202 .

[0053] The first parsing unit 201 is used for parsing the target data to obtain directory information and object information if the target data is received, wherein the directory information includes at least one station information, and the object information includes at least one picture data;

[0054] The first synthesis unit 202 is used for confirming all the picture data corresponding to the radio station information to obtain at least one target picture data, and synthesizing all the target picture data into a picture object corresponding to the radio station information.

[0055] In some embodiments, such as the present embodiment, the station logo image generating device 200 further includes a first detection unit and a second detection unit.

[0056] The first detection unit is used to detect whether there is a directory file matching the radio station information in the preset storage directory;

[0057] The second detection unit is used to enter the step of confirming all the picture data corresponding to the radio station information to obtain multiple target picture data if there is a directory file matching the radio station information in the preset storage directory, and synthesizing all the target picture data into a picture object corresponding to the radio station information.

[0058] In some embodiments, such as the present embodiment, the station logo image generating device 200 further includes a first creating unit.

[0059] The first creating unit is used for creating a directory file matching the radio station information according to the radio station information if there is no directory file matching the radio station information in the preset storage directory.

[0060] In some embodiments, such as this embodiment, the first synthesis unit 202 includes a first confirmation unit, a first storage unit and a second synthesis unit.

[0061] The first confirmation unit is used to confirm whether the reception of all target picture data associated with the radio station information is completed;

[0062] The first storage unit is used for storing all the target picture data associated with the radio station information in the directory file in sequence according to the serial number of each target picture data if the reception of all the target picture data associated with the radio station information is completed;

[0063] The second synthesis unit is used for synthesizing all the target picture data in the directory file into the picture object.

[0064] In some embodiments, such as this embodiment, the first confirmation unit includes a second confirmation unit and a third detection unit.

[0065] The second confirmation unit is used to confirm the target picture data associated with the radio station ID according to the radio station ID;

[0066] The third detection unit is used to complete the reception of all target picture data associated with the radio station information if the sum of the sizes of all the target picture data is consistent with the picture object size.

[0067] In some embodiments, such as the present embodiment, the station logo image generating device 200 further includes a fourth detection unit.

[0068] Wherein, the fourth detection unit is used for entering the step of parsing the target data to obtain directory information and object information if new target data is detected.

[0069] In some embodiments, such as the present embodiment, the station logo image generating device 200 further includes a first sending unit.

[0070] The first sending unit sends the picture object to the radio station device so that the radio station device displays the picture object.

[0071] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned station logo image generation device and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0072] The above-mentioned station logo image generating device can be implemented in the form of a computer program. The computer program can be used in Figure 3 Runs on the computer device shown.

[0073] See also Figure 3 The computer device 300 includes a processor 302 , a memory and an interface connected via a system bus 301 , wherein the memory may include a non-volatile storage medium 303 and an internal memory 304 .

[0074] The non-volatile storage medium 303 can store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, the processor 302 can execute a method for generating a station logo image.

[0075] The processor 302 is used to provide computing and control capabilities to support the operation of the entire computer device 300 .

[0076] The internal memory 304 provides an environment for the operation of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a method for generating a station logo image.

[0077] The interface 305 is used to communicate with other devices. Those skilled in the art will appreciate that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 300 to which the solution of the present application is applied. The specific computer device 300 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0078] It should be understood that in the embodiment of the present application, the processor 302 may be a central processing unit (CPU), and the processor 302 may also be other general-purpose processors, digital signal processors (FSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0079] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0080] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, any embodiment of the above-mentioned method for generating a station logo image is implemented.

[0081] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, or any other computer-readable storage medium that can store program codes.

[0082] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0083] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0084] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0085] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device to execute all or part of the steps of the method described in each embodiment of the present invention.

[0086] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0087] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0088] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for generating a radio station logo image, It is characterized in that The method comprises: If target data is received, parsing the target data to obtain directory information and object information, wherein the directory information includes at least one station information, and the object information includes at least one picture data; All the picture data corresponding to the radio station information are confirmed to obtain at least one target picture data, and all the target picture data are synthesized into a picture object corresponding to the radio station information.

2. The method according to claim 1, It is characterized in that The method further comprises: Detecting whether there is a directory file matching the radio station information in the preset storage directory; If there is a directory file matching the radio station information in the preset storage directory, the step of confirming all the image data corresponding to the radio station information to obtain multiple target image data and synthesizing all the target image data into a picture object corresponding to the radio station information is entered.

3. The method according to claim 2, It is characterized in that The method further comprises: If there is no directory file matching the radio station information in the preset storage directory, a directory file matching the radio station information is created according to the radio station information.

4. The method according to claim 3, It is characterized in that The step of synthesizing all the target picture data into a picture object corresponding to the radio station information comprises: confirming whether the reception of all target picture data associated with the radio station information is completed; If the reception of all target picture data associated with the radio station information is completed, all the target picture data are sequentially stored in the directory file according to the serial number of each target picture data; All the target picture data in the directory file are synthesized into the picture object.

5. The method according to claim 4, It is characterized in that The station information includes a station ID and a picture object size, and the step of confirming whether the reception of all target picture data associated with the station information is completed includes: confirming target picture data associated with the radio station ID according to the radio station ID; If the sum of the sizes of all the target picture data is consistent with the picture object size, the reception of all the target picture data associated with the station information is completed.

6. The method according to claim 1, It is characterized in that The method further comprises: If new target data is detected, the step of parsing the target data to obtain directory information and object information is entered.

7. The method according to claim 1, It is characterized in that After the step of synthesizing all the target picture data into a picture object corresponding to the radio station information, the method further includes: The picture object is sent to a radio device so that the radio device displays the picture object.

8. A device for generating a radio station logo image, It is characterized in that The device comprises: A first parsing unit, configured to parse the target data to obtain directory information and object information if target data is received, wherein the directory information includes at least one station information and the object information includes at least one picture data; The first synthesis unit is used to confirm all the picture data corresponding to the radio station information to obtain at least one target picture data, and synthesize all the target picture data into a picture object corresponding to the radio station information.

9. A computer device, It is characterized in that The computer device comprises a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 can be implemented.

Citation Information

Cited By

  • Picture display method and device based on digital broadcast, equipment and medium

    CN120455744A