CN117687962A - Information generation and transmission method and system - Google Patents

Information generation and transmission method and system Download PDF

Info

Publication number
CN117687962A
CN117687962A CN202311714332.1A CN202311714332A CN117687962A CN 117687962 A CN117687962 A CN 117687962A CN 202311714332 A CN202311714332 A CN 202311714332A CN 117687962 A CN117687962 A CN 117687962A
Authority
CN
China
Prior art keywords
information
information format
target
format
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311714332.1A
Other languages
Chinese (zh)
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 Zen Ai Technology Co ltd
Original Assignee
Beijing Zen Ai 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 Zen Ai Technology Co ltd filed Critical Beijing Zen Ai Technology Co ltd
Priority to CN202311714332.1A priority Critical patent/CN117687962A/en
Publication of CN117687962A publication Critical patent/CN117687962A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application relates to a method and a system for generating and transmitting information, wherein the method comprises the following steps: receiving initial transmission information sent in a first information format from a first device; determining an information format supported by opposite terminal equipment of the first equipment to be processed to obtain a target information format; generating target transmission information based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information; and transmitting the target transmission information to the opposite terminal equipment of the first equipment. Thus, the information format of the information content in the target transmission information received by the opposite terminal device of the first device can be ensured to be supported to be processed by the opposite terminal device of the first device, so that the effectiveness of information content transmission is improved.

Description

Information generation and transmission method and system
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and a system for generating and transmitting information.
Background
Currently, devices for receiving information are of a large variety, and the form of the information is complex. For example, the device class may be: 2G handsets, 3G handsets, 4G handsets, 5G handsets, landline handsets, personal computers, fax machines, etc. The form of the information may be: text, pictures, video, audio, etc. Some of these devices are older and some of them perform very poorly.
Currently, people usually transmit information as it is. However, for older devices, it may not be possible to process the original information transmitted normally. For example, device a transmits a picture to device B, C, D. If the device C does not support processing the picture, the device C cannot normally receive the information or the device C cannot normally present the picture after receiving the information, thereby causing the contents of the picture information to be not effectively conveyed.
It can be seen that how to improve the effectiveness of information content delivery is a considerable technical problem.
Disclosure of Invention
In view of this, in order to solve some or all of the above technical problems, embodiments of the present application provide a method and a system for generating and transmitting information.
In a first aspect, an embodiment of the present application provides a method for generating and transmitting information, where the method includes:
receiving initial transmission information sent in a first information format from a first device;
determining an information format supported by opposite terminal equipment of the first equipment to be processed to obtain a target information format;
generating target transmission information based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information;
And transmitting the target transmission information to the opposite terminal equipment of the first equipment.
In one possible implementation manner, the determining that the peer device of the first device supports the processed information format, to obtain the target information format includes:
acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment;
generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number;
and taking one information format element in the information format set as a target information format.
In one possible embodiment, the data information further includes a device number, the method further comprising:
under the condition that the opposite terminal equipment of the first equipment is one, any one information format element in the information format set is used as a target information format;
comparing the information format sets of the opposite terminal devices of each first device under the condition that the opposite terminal devices of the first device are a plurality of, and taking any one information format element in the information format sets as a target information format under the condition that the information format sets are the same; in the case that the information format set is an intersecting set, taking one information format element shared in the information format set as a target information format; and under the condition that the information format set is an empty set, comparing the information format sets of opposite terminal devices of the N first devices, and determining matched information format elements as target information formats according to the crossing condition of the information format sets, wherein the total number of the opposite terminal devices of the first devices is more than or equal to N and is more than or equal to 2.
In one possible implementation manner, the generating the target transmission information based on the initial transmission information and the target information format includes:
determining whether the first information format and the target information format are the same;
under the condition that the first information format and the target information format are different, converting at least part of information content of the initial transmission information from the first information format to the target information format to obtain target transmission information;
in the case where the first information format and the target information format are the same, the initial transmission information is determined as the target transmission information.
In one possible implementation manner, in a case that the peer device of the first device supports processing at least two information formats, the determining that the peer device of the first device supports processing the information formats, to obtain the target information format includes:
determining network transmission performance between opposite end equipment of the first equipment;
and determining an information format matched with the network transmission performance from at least two information formats supported by the opposite terminal equipment of the first equipment as a target information format.
In one possible implementation manner, in a case that the peer device of the first device supports processing at least two information formats, the determining that the peer device of the first device supports processing the information formats, to obtain the target information format includes:
Determining the time length for respectively converting the information format of at least part of information content of the initial transmission information into each information format, and respectively obtaining the conversion time length corresponding to at least two information formats;
comparing the obtained conversion time length and determining the conversion time length with the shortest time length;
and determining the information format corresponding to the conversion duration with the shortest duration as the target information format.
In one possible implementation manner, after the transmitting the target transmission information to the peer device of the first device, the method further includes:
determining whether the opposite terminal equipment of the first equipment successfully receives the target transmission information;
and under the condition that the opposite terminal equipment of the first equipment does not successfully receive the target transmission information, generating another target transmission information in another information format, and sending the other target transmission information to the opposite terminal equipment of the first equipment.
In a second aspect, an embodiment of the present application provides a system for generating and transmitting information, where the system includes a receiving unit, a determining unit, and a transmitting unit, where:
the receiving unit is configured to receive initial transmission information; transmitting the initial transmission information to the transmitting unit;
the determining unit is configured to determine an information format supported by opposite terminal equipment of the first equipment to be processed, and obtain a target information format;
The transmitting unit is configured to generate target transmission information based on the initial transmission information and a target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information; and transmitting the target transmission information to the opposite terminal equipment of the first equipment.
In a possible embodiment, the determining unit is configured to:
acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment;
generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number;
and taking one information format element in the information format set as a target information format.
In a possible embodiment, the data information further comprises a device number, the determining unit is further configured to:
under the condition that the opposite terminal equipment of the first equipment is one, any one information format element in the information format set is used as a target information format;
comparing the information format sets of the opposite terminal devices of each first device under the condition that the opposite terminal devices of the first device are a plurality of, and taking any one information format element in the information format sets as a target information format under the condition that the information format sets are the same; in the case that the information format set is an intersecting set, taking one information format element shared in the information format set as a target information format; and under the condition that the information format set is an empty set, comparing the information format sets of opposite terminal devices of the N first devices, and determining matched information format elements as target information formats according to the crossing condition of the information format sets, wherein the total number of the opposite terminal devices of the first devices is more than or equal to N and is more than or equal to 2.
In one possible embodiment, the system further comprises a first information collection unit configured to:
data information of opposite end devices of all the first devices is collected.
In one possible embodiment, the system further comprises a classification unit configured to:
the peer devices of the plurality of first devices are classified based on data information of the peer devices of the plurality of first devices.
In one possible embodiment, the system further comprises a second information collecting unit configured to:
and storing a corresponding relation table between the opposite terminal equipment of the first equipment and the target information format.
In one possible embodiment, the system further comprises a listening unit configured to at least one of:
monitoring the equipment state of opposite-end equipment of the first equipment;
monitoring whether the receiving unit receives initial transmission information;
and monitoring whether the opposite terminal equipment of the first equipment successfully receives the target transmission information.
In one possible embodiment, the receiving unit is configured to:
and receiving the initial transmission information in the first information format sent by the first equipment.
According to the information generation and transmission method, initial transmission information sent from the first device in the first information format is received, then, the information format which is supported by the opposite terminal device of the first device to be processed is determined, a target information format is obtained, then, target transmission information is generated based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information, and then, the target transmission information is transmitted to the opposite terminal device of the first device. When the information is required to be transmitted to the opposite terminal equipment of the first equipment, the information format which can be supported by the opposite terminal equipment of the first equipment at present is prejudged, the information format which can be successfully processed by the opposite terminal equipment of the first equipment is determined, and then the information to be transmitted is transmitted to the opposite terminal equipment of the first equipment according to the information format which is supported by the opposite terminal equipment of the first equipment at present. In addition, the first device keeps outputting the initial transmission information in a first information format (e.g., h.264 video data transmission format), and the first device does not need to store transmission information in multiple information formats. In this way, the format of the information content in the target transmission information received by the opposite terminal device of the first device can be ensured, and the opposite terminal device of the first device can process (for example, normally receive and display) the information content, thereby improving the effectiveness of information content transmission. Because the target transmission information has the information format which is supported by the opposite terminal equipment of the first equipment to be processed, the user can normally acquire the content of the target transmission information, and the user can receive the transmission information on schedule. In some cases, the first device may send the initial transmission information to the execution body of the method in an information flow manner without performing format conversion on the initial transmission information, so that the method can reduce transmission jamming of the first device and reduce operation load of the first device.
The information generation and transmission system provided by the embodiment of the application comprises a receiving unit, a determining unit and a sending unit, wherein: the receiving unit is configured to receive initial transmission information; transmitting the initial transmission information to the transmitting unit; the determining unit is configured to determine an information format supported by opposite terminal equipment of the first equipment to be processed, and obtain a target information format; the transmitting unit is configured to generate target transmission information based on the initial transmission information and a target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information; and transmitting the target transmission information to the opposite terminal equipment of the first equipment. When the information is required to be transmitted to the opposite terminal equipment of the first equipment, the information format which can be supported by the opposite terminal equipment of the first equipment at present is prejudged, the information format which can be successfully processed by the opposite terminal equipment of the first equipment is determined, and then the information to be transmitted is transmitted to the opposite terminal equipment of the first equipment according to the information format which is supported by the opposite terminal equipment of the first equipment at present. In addition, the first device keeps outputting the initial transmission information in a first information format (e.g., h.264 video data transmission format), and the first device does not need to store transmission information in multiple information formats. In this way, the format of the information content in the target transmission information received by the opposite terminal device of the first device can be ensured, and the opposite terminal device of the first device can process (for example, normally receive and display) the information content, thereby improving the effectiveness of information content transmission. Because the target transmission information has the information format which is supported by the opposite terminal equipment of the first equipment to be processed, the user can normally acquire the content of the target transmission information, and the user can receive the transmission information on schedule. In some cases, the first device may send the initial transmission information to the present system in an information flow manner, without performing format conversion on the initial transmission information, so that the method can reduce transmission jamming of the first device and reduce operation load of the first device.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a flow chart of a method for generating and transmitting information according to an embodiment of the present application;
fig. 2 is an application scenario schematic diagram of a method for generating and transmitting information according to an embodiment of the present application;
fig. 3 is an application flow diagram of an information generating and transmitting system according to an embodiment of the present application;
Fig. 4 is a schematic diagram of an access process of an access device related to a method for generating and transmitting information according to an embodiment of the present application;
fig. 5 is a schematic diagram of a processing procedure of an information format related to a method for generating and transmitting information according to an embodiment of the present application;
fig. 6 is a flow chart of a method for generating and transmitting information according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an information generating and transmitting device according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a system for generating and transmitting information according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings, it being apparent that the described embodiments are some, but not all embodiments of the present application. It should be noted that: the relative arrangement of the parts and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
It will be appreciated by those skilled in the art that terms such as "first," "second," and the like in the embodiments of the present application are used merely to distinguish between different steps, devices, or modules, and do not represent any particular technical meaning or logical sequence therebetween.
It should also be understood that in this embodiment, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in the embodiments of the present application may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in this application is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In this application, the character "/" generally indicates that the associated object is an or relationship.
It should also be understood that the description of the embodiments herein emphasizes the differences between the embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. For an understanding of the embodiments of the present application, the present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It will be apparent that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order to solve the technical problem of how to improve the effectiveness of information content transmission in the prior art, the application provides a method for generating and transmitting information, which can improve the effectiveness of information content transmission.
Fig. 1 is a flow chart of a method for generating and transmitting information according to an embodiment of the present application. The method can be applied to one or more electronic devices such as smart phones, notebook computers, desktop computers, portable computers, servers and the like. The main execution body of the method may be hardware or software. When the execution body is hardware, the execution body may be one or more of the electronic devices. For example, a single electronic device may perform the method, or a plurality of electronic devices may cooperate with one another to perform the method. When the execution subject is software, the method may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module. The present invention is not particularly limited herein.
As shown in fig. 1, the method specifically includes:
step 101, initial transmission information sent in a first information format from a first device is received.
In this embodiment, the initial transmission information refers to information to be transmitted, where the information to be transmitted is in a first information format, and the initial transmission information may be a currently played signal source picture; the signal source picture to be played at the next moment can also be used; the signal source picture at a certain moment of history can also be used; or a signal source screen of a certain time period is historic. The initial transmission information may include at least one of: picture, video, text, audio.
In one embodiment of the invention, the input end of the first device is connected with the output end of the acquisition device, the input end of the acquisition device is connected with the server, and the server is in communication connection with a plurality of signal sources. According to the calling instruction of the first equipment, the acquisition equipment is used for acquiring a signal source corresponding to the calling instruction from the server, and then the signal source is sent to the first equipment, so that the signal source is displayed on a display interface of the first equipment. It should be noted that, a plurality of windows are provided in the display screen of the first device, and each window may display one signal source, that is, the display screen of the first device may display a plurality of signal sources at the same time. The signal source may be pictures, video, text, audio, photographs, video recordings, etc.
The initial transmission information is from the signal source, for example, the initial transmission information may be a picture (local) displayed by the first device. Alternatively, the initial transmission information may be transmitted to the first device via another electronic device (e.g., an acquisition device), for example, the initial transmission information may be a signal source acquired by the acquisition device transmitted to the first device via the acquisition device.
The initial transmission information may be user perceivable content. For example, if the initial transmission information is a picture, the information content indicated by the initial transmission information may be text content, color content, or the like in the picture.
The first device may be a terminal device with a manipulation function, and the terminal device may be used to transmit initial transmission information. As an example, the first device may include, but is not limited to: smart phones, notebook computers, desktop computers, portable computers, servers, etc.
The first information format refers to an attribute of the type of information that the information is sent from the first device. For example, the attribute of the picture may be JPEG, PNG, GIF or the like; the attribute of the video may be JPEG, PNG, GIF, etc.; the attribute of the voice may be WAV, MP3, AAC, etc.
In addition, in some scenarios, the above step 101 may be performed in the event that a trigger operation is detected. The triggering operation may be a clicking operation of a user on a preset key, and more specifically, the triggering operation may be a sharing operation. After the triggering operation is detected, an instruction for triggering the execution of the step 101 may be generated, and further, the generation of the present information and the execution of the transmission method may be triggered.
In some cases, the first device may include at least two windows, where each window displays a signal source, where the signal source is a picture acquired by the first device from another terminal via the server. In this scenario, the signal source may be determined to be the initial transmission information.
Step 102, determining an information format supported by the opposite terminal equipment of the first equipment to obtain a target information format.
The opposite device of the first device may be a device for transmitting information with the first device.
For example, if the first device is a mobile phone a of a user, the peer device of the first device may be a server for supporting the application running of the mobile phone, or the peer device of the first device may also be a mobile phone B of another user for communicating with the mobile phone.
Further, the number of peer devices of the first device may be one or more. In the case where the number of the opposite terminal devices of the first device is plural, the information formats that the respective opposite terminal devices support processing may be the same or different.
In this embodiment, the information format refers to an attribute of an information type that the peer device of the first device supports processing. For example, the attribute of the picture may be JPEG, PNG, GIF or the like; the attribute of the video may be JPEG, PNG, GIF, etc.; the attribute of the voice may be WAV, MP3, AAC, etc. May include video, images, audio, text, and the like. The target information format refers to an attribute of the type of information that is determined to be used for transmission. It should be noted that, the types of information used by the peer device support process/determined transmission of one first device may be set to only 1, or may be set to a plurality.
The target information format may be an information format that the peer device of the first device supports processing.
In practice, the device information (such as a device model, a device configuration, a login state, a networking state, and a device type) of the opposite device of the first device may be first acquired, and then, based on a predetermined association information table, an information format of the opposite device support processing of the first device corresponding to the association information is determined. The association relationship information table may represent a correspondence relationship between a peer device of the first device and an information format of a device supporting process.
The login state may include a login state of the opposite terminal device of the first device to the interface interconnection software; the networking state may include a network connection state in which a peer device of the first device is connected to a local area network or a public network, and so on.
When the opposite terminal equipment of the first equipment is a mobile phone, a pad or a computer, the networking of the opposite terminal equipment of the first equipment is normal, and the opposite terminal equipment of the first equipment logs in the interface interconnection software, the information format with the highest conversion speed can be determined as the target information format; and under the condition that the opposite terminal equipment of the first equipment is a mobile phone, a pad or a computer and the networking of the opposite terminal equipment of the first equipment is abnormal, the information format which does not occupy network resources can be determined to be a target information format.
Further, the number of information formats that the peer device of each first device supports processing may be one or more. For example, if the peer device of the first device is a landline, the type of information that the peer device of the first device supports processing may be audio. For another example, if the peer device of the first device is a smart phone, the type of information that the peer device of the first device supports processing may include, pictures, video, text, audio.
Here, the above step 102 may be implemented in various ways.
In some optional implementations of this embodiment, in a case where the peer device of the first device supports processing at least two information formats, the foregoing step 102 may be implemented in the following manner:
first, network transmission performance with a peer device of a first device is determined.
Wherein, the network transmission performance may represent at least one of the following: delay, jitter, network speed, etc.
And secondly, determining an information format matched with the network transmission performance from at least two information formats supported by opposite terminal equipment of the first equipment to obtain a target information format.
The target information format may be one information format matched with the network transmission performance, among at least two information formats supported by the opposite terminal device of the first device.
As an example, in the case where the network transmission performance is poor with respect to the network state between the opposite terminal device of the first device, one information format having the smallest occupied network resource may be determined from at least two information formats supported for processing by the opposite terminal device of the first device, or one information format not occupying network resources may be determined and then used as an information format matching the network transmission performance, thereby obtaining the target information format.
It may be appreciated that, in the above alternative implementation manner, the determining the target information format based on the network transmission performance between the execution body and the peer device of the first device may make the transmitted information more suitable for the network transmission performance of the peer device of the first device.
In some optional implementations of this embodiment, in a case where the peer device of the first device supports processing at least two information formats, the foregoing step 102 may also be implemented in the following manner:
the first step, determining the conversion duration of converting at least part of the format of the information content indicated by the initial transmission information into at least two formats respectively, and obtaining the conversion duration corresponding to each format respectively.
Wherein, performing a conversion of an information format may correspond to a conversion duration.
The conversion duration corresponding to the conversion information format may represent a time period for converting at least part of the information content of the initial transmission information from the original information format to another information format.
Here, the conversion duration corresponding to the conversion information format may be predicted in various manners.
As an example, the information format to be converted and the initial transmission information may be input to a predetermined first model for each of at least two information formats, thereby obtaining a conversion duration corresponding to converting the information content to be transmitted into the information format to be converted. The first model may represent a correspondence between an information format to be converted, initial transmission information, and a corresponding conversion duration. For example, the first model may be a model trained using a machine learning algorithm, or the first model may be determined based on a graph representing a correspondence between an information format to be converted, initial transmission information, and a corresponding conversion period.
As yet another example, the initial transmission information may also be input to a second model predetermined for the information format to be converted for each of at least two information formats, thereby obtaining a conversion duration corresponding to the information format to be converted. The second model may characterize a correspondence between the initial transmission information and the corresponding transition duration. The different information formats may correspond to different second models. For example, the second model may be a model trained using a machine learning algorithm, or the second model may be determined based on a graph representing a correspondence between the initial transmission information and the corresponding transition period.
And secondly, determining the conversion time length with the minimum time length (namely the highest conversion speed) from the obtained conversion time lengths.
Thirdly, determining the information format to be converted corresponding to the conversion time with the minimum time length as a target information format.
It can be appreciated that in the above alternative implementation manner, the information content to be transmitted may be transmitted to the opposite device of the first device in the target information format with the fastest conversion speed, so that the timeliness of the transmission of the information content to be transmitted is improved by saving the conversion time of the information content to be transmitted.
Step 103, generating target transmission information based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information.
In some cases, the initial transmission information may be sent to the executing body via the first device. In other words, the first device may implement the process of converting the initial transmission information into the target transmission information via the above-described execution body (e.g., a single content multi-sharing system, a generation and transmission system of information, which will be described later).
For example, in the case where the initial transmission information is a picture, the target transmission information may be the picture. For another example, in the case where the initial transmission information is a picture, the target transmission information may be all or part of the text thereof obtained by performing text recognition on the picture.
In the present embodiment, the target transmission information, which means information that can be normally processed (received and displayed) by the counterpart device of the first device, is information to be transmitted to the counterpart device of the first device. The format of the target transmission information is the target information format, that is, the opposite terminal equipment of the first equipment supports processing the target transmission information. Further, the target transmission information may contain the entire information content of the initial transmission information, or the target transmission information may include a part of the information content of the initial transmission information. Wherein, at least part of the information content of the initial transmission information refers to the content of a part of the area of the display screen of the first device, for example, the content can be the display content of one signal source of the first device; alternatively, the display content may be of two signal sources of the first device; alternatively, content may be identified for a portion of one signal source of the first device, and so on.
Here, the above step 103 may be implemented in various ways.
In some alternative implementations of this embodiment, the foregoing step 103 may be implemented in the following manner:
first, a selected portion of the information content is determined from the information content of the initially transmitted information.
Wherein a portion of the information content may be selected from the information content of the initial transmission information via the user, thereby obtaining the selected portion of the information content. Alternatively, a part of the information content may be automatically selected from the information content of the initial transmission information according to a certain policy. For example, if the initial transmission information is a picture, the initial transmission information may be determined as a selected partial information content as a partial text content included in the picture.
And a second step of determining target transmission information based on at least part of the information content of the initial transmission information and the target information format.
In the case where the format of at least part of the information content of the initial transmission information is the target information format, the at least part of the information content of the initial transmission information may be determined as the target transmission information; in case that the format of at least part of the information content of the initial transmission information is not the target information format, the format of at least part of the information content of the initial transmission information may be converted into the target information format, thereby obtaining the target transmission information.
It can be appreciated that in the above alternative implementation manner, the information content of the peer device that needs to be transmitted to the first device may be determined more flexibly by a selected manner.
And 104, transmitting the target transmission information to opposite-end equipment of the first equipment.
In this embodiment, after the target transmission information is generated, the target transmission information may be transmitted to the opposite device of the first device.
According to the information generation and transmission method, initial transmission information sent from the first device in the first information format is received, then, the information format which is supported by the opposite terminal device of the first device to be processed is determined, a target information format is obtained, then, target transmission information is generated based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information, and then, the target transmission information is transmitted to the opposite terminal device of the first device. When the information is required to be transmitted to the opposite terminal equipment of the first equipment, the information format which can be supported by the opposite terminal equipment of the first equipment at present is prejudged, the information format which can be successfully processed by the opposite terminal equipment of the first equipment is determined, and then the information to be transmitted is transmitted to the opposite terminal equipment of the first equipment according to the information format which is supported by the opposite terminal equipment of the first equipment at present. In addition, the first device keeps outputting the initial transmission information in a first information format (e.g., h.264 video data transmission format), and the first device does not need to store transmission information in multiple information formats. In this way, the format of the information content in the target transmission information received by the opposite terminal device of the first device can be ensured, and the opposite terminal device of the first device can process (for example, normally receive and display) the information content, thereby improving the effectiveness of information content transmission. Because the target transmission information has the information format which is supported by the opposite terminal equipment of the first equipment to be processed, the user can normally acquire the content of the target transmission information, and the user can receive the transmission information on schedule. In some cases, the first device may send the initial transmission information to the execution body of the method in an information flow manner without performing format conversion on the initial transmission information, so that the method can reduce transmission jamming of the first device and reduce operation load of the first device.
In some optional implementations of this embodiment, determining an information format supported by a peer device of the first device to process, to obtain a target information format includes: acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment; generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number; and taking one information format element in the information format set as a target information format. Wherein each peer device of the first device may correspond to one set of information formats. All or part of the information formats (i.e., information format elements) that the peer device supports processing may be included in the information format set.
By the method, objective conditions of transmission, such as delay conditions, can be determined according to different network conditions (namely the network environments), so that the opposite terminal equipment of the first equipment can receive information content capable of supporting processing.
The information formats that may be supported by the peer device of the first device are predicted according to the data information of the peer device of the first device, and may be one or more, for example, the set of information formats that may be supported by the peer device 1 of the first device is { JPEG format, MP3 format, doc format }, and the set of information formats that may be supported by the peer device 2 of the first device is { JPEG format }. In this case, one information format element in the information format set may be regarded as the target information format, where one information format element refers to one information format in the information format set.
In addition, each item of data information can be subjected to real data display, and then the real data is compared with the association relation information table to determine the information format which is possibly supported. And the data information can be corresponding to preset values, the preset values are written into an algorithm, and the information formats which are possibly supported are determined according to the result of the algorithm. The algorithm may be a standard deviation algorithm or other conventional calculation method, and the application is not limited thereto.
Further, the data information further includes a number of devices, and the method further includes: taking any one information format element in the information format set as a target information format under the condition that the number of the opposite terminal devices of the first device is one; comparing the information format sets of the opposite terminal devices of each first device (for example, comparing the information format set a of the opposite terminal device a of the first device with the information format set B of the opposite terminal device B of the first device) when the number of the opposite terminal devices of the first device is plural, and taking any one information format element in the information format sets as a target information format when the information format sets are the same set; in the case where the information format sets are intersecting sets (i.e., there is an intersection between a plurality of information format sets), one information format element common in the information format sets is taken as a target information format; and under the condition that the information format sets are empty sets, comparing the information format sets of opposite terminal devices of the N first devices (namely, the number of the information format sets is recorded as N), and determining matched information format elements as target information formats according to the crossing condition of the information format sets, wherein the total device number of the opposite terminal devices of the first devices is more than or equal to N and is more than or equal to 2.
According to the technical scheme, under the condition that the opposite terminal equipment of the first equipment is one, any one information format element in the information format set is selected as the target information format, the fastest format conversion can be used as the selection basis, the least network bandwidth occupation can be used as the selection basis, and the selection can be carried out at will. Under the condition that the network bandwidth occupation is minimum or the format conversion is fastest as the selection basis, the timeliness of receiving the transmission information by the user can be improved. On the basis, the occurrence of the condition that the first equipment is blocked in transmission can be reduced, and the operation load of the first equipment can be reduced.
Under the condition that the number of the opposite terminal devices of the first device is multiple, the same type of items can be combined on the opposite terminal devices of the first device supporting the same information format, and at least part of information content of initial transmission information is converted into the same information format, so that information transmission can be carried out on the opposite terminal devices of the multiple first devices in batches, and the transmission efficiency is increased. In the case where the information format set is the empty set, the peer devices of the first devices may be reduced by a part, and the classification process may be performed again on the reduced peer devices of the plurality of first devices. Further, the opposite end devices of the first devices may be divided into a plurality of groups, for example, 8 opposite end devices of the first devices in total, into a group of 6 opposite end devices of the first devices, a group of 2 opposite end devices of the first devices, and the classification processing of the information format set may be performed for each group. And (3) sequentially cycling until the information format sets of the opposite terminal devices of any 2 first devices are determined to be empty sets, and stopping the classifying processing step. In addition, the information format determining and converting steps may be performed one by one in units of the opposite end device of each first device.
In some optional implementations of this embodiment, after the transmitting the target transmission information to the peer device of the first device, the following steps may be further performed:
step one, determining whether the opposite terminal equipment of the first equipment successfully receives the target transmission information.
As an example, successful reception of the target transmission information may be a reception operation for the target transmission information. Or, in the case that the target transmission information is a picture, the successful reception of the target transmission information may be a display operation for the picture; if the target transmission information is audio, the successful receiving of the target transmission information may be a play operation for the audio; if the target transmission information is video, the successful receiving of the target transmission information may be a playing operation for the video; in the case where the target transmission information is text, the successful reception of the target transmission information may be a display operation for the text.
Here, whether the target transmission information is successfully received by the peer device of the first device may be determined through feedback information (such as a response) sent by the peer device of the first device to the execution body of the method.
And step two, under the condition that the opposite terminal equipment of the first equipment does not successfully receive the target transmission information, generating another target transmission information in another information format (namely, another information format which is different from the information format of the target transmission information in the execution step one in the information format set), and sending the other target transmission information to the opposite terminal equipment of the first equipment.
It may be appreciated that in the above alternative implementation manner, in the case where the peer device of the first device does not successfully receive the target transmission information, the steps of generating the target transmission information and sending the target transmission information may be performed again, that is, another information format that is different from the information format that fails to be received and that is supported by the peer device of the first device is selected, the another information format is generated into another target transmission information, and the another target transmission information is sent to the peer device of the first device, so as to ensure that the peer device of the first device successfully receives the target transmission information, thereby further improving the transmission effectiveness of the target transmission information. Wherein, another information format refers to an information format that the opposite terminal device of the first device supports processing. After the other target transmission information is sent, the judging step of whether the opposite terminal equipment of the first equipment successfully receives the other information format can be continuously executed; the step of determining whether the opposite device of the first device successfully receives another information format may not be performed, and the information transmission is re-transmitted as valid by default.
In some optional implementations of this embodiment, after the target transmission information is transmitted to the peer device of the first device, the peer device of the first device may be further used as a new first device, and the method for generating and transmitting the information may be performed based on the new first device.
As an example, if after the first device a (or the server) transmits the target transmission information D to the opposite device B of the first device, the opposite device B of the first device may be regarded as a new first device, and the opposite device C of the new first device may be determined, and further the target transmission information E may be transmitted by the opposite device B (or the server) of the first device to the opposite device C of the new first device. Wherein the target transmission information D and the target transmission information E may be the same or different. For example, the target transmission information E may contain only a part of the information content in the target transmission information D. Alternatively, the target transmission information D and the target transmission information E may have no association or dependency. For example, the target transmission information D may be a video played in real time, and the target transmission information E may be two pictures.
It may be appreciated that in the above alternative implementation manner, the peer device may be used as an intermediate node to continue to transmit the target transmission information to the next node device of the peer device.
In some alternative implementations of the present embodiment, different targeted transmissions are used for transmission to different peer devices of the first device.
Wherein, different target transmission information may refer to two or more target transmission information differing in the following ways: target information format, information content, etc.
As an example, the above-described execution body may transmit the target transmission information C to the counterpart device a of the first device, and transmit the target transmission information D to the counterpart device B of the first device.
In this case, the target transmission information C described above may be generated as follows:
first, the initial transmission information 1 and the opposite device of the first device (i.e., the opposite device a described above) are determined. And then, determining the information format supported by the opposite terminal equipment A to obtain a target information format 1. Then, the target transmission information C is generated based on the initial transmission information 1 and the target information format 1.
The target transmission information D may be generated as follows:
first, the initial transmission information 2 and the opposite device of the first device (i.e., the opposite device B described above) are determined. And then, determining the information format supported by the opposite terminal equipment B to obtain a target information format 2. Then, the target transmission information D is generated based on the initial transmission information 2 and the target information format 2.
Wherein the initial transmission information 1 and the initial transmission information 2 may be the same or different.
Further, in some cases, the plurality of different target transmission information may be transmitted to the counterpart devices of the plurality of different first devices through one operation (e.g., sharing operation).
It will be appreciated that in the above alternative implementation, the transmission of a plurality of different target transmission information to the peer devices of a plurality of different first devices may be implemented.
According to the information generation and transmission method, initial transmission information sent from the first device in the first information format is received, then, the information format which is supported by the opposite terminal device of the first device to be processed is determined, a target information format is obtained, then, target transmission information is generated based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information, and then, the target transmission information is transmitted to the opposite terminal device of the first device. When the information is required to be transmitted to the opposite terminal equipment of the first equipment, the information format which can be supported by the opposite terminal equipment of the first equipment at present is prejudged, the information format which can be successfully processed by the opposite terminal equipment of the first equipment is determined, and then the information to be transmitted is transmitted to the opposite terminal equipment of the first equipment according to the information format which is supported by the opposite terminal equipment of the first equipment at present. In addition, the first device keeps outputting the initial transmission information in a first information format (e.g., h.264 video data transmission format), and the first device does not need to store transmission information in multiple information formats. In this way, the format of the information content in the target transmission information received by the opposite terminal device of the first device can be ensured, and the opposite terminal device of the first device can process (i.e. normally receive and display) the information content, thereby improving the effectiveness of information content transmission. The user can receive the transmission information on schedule. On the basis, the method can also avoid transmission jamming of the first equipment and reduce the operation load of the first equipment.
According to the information generation and transmission method provided by the embodiment of the application, the format of at least part of information content indicated by the initial transmission information is converted into the target information format only under the condition that the initial transmission information does not have the target information format, so that the target transmission information is obtained; in the case that the initial transmission information has the target information format, conversion is not needed, and the initial transmission information is directly determined as the target transmission information, so that the format of the target transmission information transmitted to the opposite terminal equipment of the first equipment can be kept consistent with the format of the initial transmission information as far as possible under the condition that the opposite terminal equipment supports processing the target transmission information.
The following exemplary description of the embodiments of the present application is provided, but it should be noted that the embodiments of the present application may have the features described below, and the following description should not be construed as limiting the scope of the embodiments of the present application.
Referring to fig. 2, fig. 2 is a schematic application scenario diagram of a method for generating and transmitting information according to an embodiment of the present application.
As an application scenario, the method may be performed in cooperation with the server via the first device. As shown in fig. 2, the single content sharing system in fig. 2 may be disposed in the server. As shown in the figure, the first device may send the picture as initial transmission information to the single content multi-sharing system in, for example, JPEG format, and then the single content multi-sharing system determines to receive the initial transmission information, where the peer device of the first device includes: senile set, fixed set, smart phone and computer. Then, the single content multi-element sharing system can determine that the target information format supported by the senile computer is Doc format, the target information format supported by the base computer is MP3 format, the target information format supported by the smart phone is JPEG format, and the target information format supported by the computer is JPEG format. Thus, the initial transmission information can be converted from the JPEG format to the Doc format, and then the initial transmission information is determined to be the target transmission information and sent to the senior citizen machine; converting the initial transmission information from a JPEG format to an MP3 format, and then determining the initial transmission information as target transmission information and sending the target transmission information to the base unit; and the initial transmission information is directly sent to the smart phone and the computer in a JPEG format. It should be noted that, the conversion technology/conversion plug-in related to conversion between different kinds of information formats is a technology/method capable of realizing conversion on the market, which is not limited in the present invention. For example, from the JPEG format to Doc format, text in the JPEG format may be extracted and converted to editable text using, for example, OCR recognition techniques, and the text may then be saved as Doc format. For another example, converting from a JPEG format to an MP3 format, a picture in the JPEG format may be opened using, for example, a VLC media player, audio extracted therefrom, and stored as MP3 format. Etc. The conversion technology/conversion plug-in can be arranged in the single content diversified sharing system, can be in communication connection with the single content diversified sharing system and can be controlled by the call of the single content diversified sharing system. By the method and the device, the opposite terminal equipment of the first equipment is not limited in type, and information to be transmitted can be normally processed no matter what network environment and what equipment are.
The information generating and transmitting method provided by the embodiment of the application can increase the types of information formats which can be covered by information transmission. The labor consumption for message conversion is saved when the same message (i.e., the initial transmission information) is sent to different types of devices. The speed of sending the same message to different types of devices is increased.
In one possible implementation manner, the generating the target transmission information based on the initial transmission information and the target information format includes:
determining whether the first information format and the target information format are the same;
under the condition that the first information format and the target information format are different, converting at least part of information content of the initial transmission information from the first information format to the target information format to obtain target transmission information;
in the case where the first information format and the target information format are the same, the initial transmission information is determined as the target transmission information.
In the case where the original information format (first information format) of the initial transmission information and the information format (target information format) supported by the opposite terminal device of the first device are the same, the initial transmission information is directly transmitted to the opposite terminal device of the first device without performing information format conversion. The information to be transmitted is converted from the first information format to the target information format and then transmitted only if the original information format of the initially transmitted information is not supported by the counterpart device of the first device. By judging the information format supporting condition of the opposite terminal equipment of the first equipment in advance, the conversion processing can be carried out on the information format of the information to be transmitted, which is not matched with the information format type supported by the opposite terminal equipment of the first equipment. And according to the matching conditions of different information formats, corresponding transmission or conversion steps are executed, and the scheme is flexible and controllable.
In one possible implementation manner, the generating the target transmission information based on the initial transmission information and the target information format includes:
determining selected information content from the information content of the initial transmission information;
the target transmission information is determined based on the selected information content and the target information format.
In one possible implementation manner, in a case that the peer device of the first device supports processing at least two information formats, the determining that the peer device of the first device supports processing the information formats, to obtain the target information format includes:
determining network transmission performance between opposite end equipment of the first equipment;
and determining an information format matched with the network transmission performance from at least two information formats supported by the opposite terminal equipment of the first equipment as a target information format.
That is, under the condition that the opposite terminal equipment of the first equipment supports processing of multiple information formats, the network transmission performance can be checked preferentially, and the target information format is selected by taking the network transmission performance as a reference basis. For example, if the network transmission performance is good, the information format which can be more effectively transmitted under the condition of the network transmission performance is taken as the target information format; if the network transmission performance is poor, the network-independent/almost network-independent information format is taken as the target information format.
In one possible implementation manner, in a case that the peer device of the first device supports processing at least two information formats, the determining that the peer device of the first device supports processing the information formats, to obtain the target information format includes:
determining the time length for converting the information format of at least part of the information content of the initial transmission information into each information format (namely, each information format in the information format set) respectively, and obtaining the corresponding conversion time length of at least two information formats respectively;
comparing the obtained conversion time length and determining the conversion time length with the shortest time length;
and determining the information format corresponding to the conversion duration with the shortest duration as the target information format.
Under the condition that the opposite terminal equipment of the first equipment supports processing of multiple information formats, the time length for converting the information formats can be checked preferentially, and the target information format is selected by taking the conversion time length as a reference basis. For example, if the conversion duration is the shortest, the information format is used as the target information format; if the conversion time is long, other information formats are selected as target information formats.
Fig. 7 is a schematic structural diagram of an apparatus for generating and transmitting information according to an embodiment of the present application. The method specifically comprises the following steps:
A first determining unit 401 for receiving initial transmission information transmitted in a first information format from a first device;
a second determining unit 402, configured to determine an information format that the peer device of the first device supports processing, to obtain a target information format;
a generating unit 403 for generating target transmission information based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of the information content of the initial transmission information;
a transmitting unit 404, configured to transmit the target transmission information to a peer device of the first device.
In one possible implementation manner, after the transmitting the target transmission information to the peer device of the first device, the apparatus further includes:
a third determining unit (not shown in the figure) for determining whether the opposite device of the first device successfully receives the target transmission information;
a first execution unit (not shown in the figure) for generating another target transmission information in another information format and transmitting the other target transmission information to the opposite terminal device of the first device, in case that the opposite terminal device of the first device does not successfully receive the target transmission information.
In one possible implementation manner, after the transmitting the target transmission information to the peer device of the first device, the apparatus further includes:
A second execution unit (not shown in the figure) for taking the opposite terminal device of the first device as a new first device, and executing the information generating and transmitting method based on the new first device.
In one possible implementation, different target transfer information is used for transfer to the peer devices of different first devices.
The information generating and transmitting device provided in this embodiment may be an information generating and transmitting device as shown in fig. 7, and may perform all the steps of the above-described generating and transmitting methods of each information, so as to achieve the technical effects of the above-described generating and transmitting methods of each information, and specific reference should be made to the above-described related description, which is omitted herein for brevity.
With continued reference to fig. 8, fig. 8 is a schematic diagram of an information generating and transmitting system according to an embodiment of the present application.
As shown in fig. 8, the system includes a receiving unit 10, a determining unit 20, and a transmitting unit 30.
The receiving unit 10 is configured to receive initial transmission information; the initial transmission information is transmitted to the transmitting unit 30.
The determining unit 20 is configured to determine an information format that the peer device of the first device supports processing, and obtain a target information format.
The transmitting unit 30 is configured to generate target transmission information based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of the information content of the initial transmission information; and transmitting the target transmission information to the opposite terminal equipment of the first equipment.
In some optional implementations of the present embodiment, the determining unit is configured to: acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment; generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number; and taking one information format element in the information format set as a target information format.
In other words, the information format in which the peer device of the first device supports processing may be determined in the following manner, resulting in the target information format: acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment; generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number; and taking one information format element in the information format set as a target information format.
In some optional implementations of the present embodiment, the data information further includes a device number, the determining unit is further configured to: under the condition that the opposite terminal equipment of the first equipment is one, any one information format element in the information format set is used as a target information format; comparing the information format sets of the opposite terminal devices of each first device under the condition that the opposite terminal devices of the first device are a plurality of, and taking any one information format element in the information format sets as a target information format under the condition that the information format sets are the same; in the case that the information format set is an intersecting set, taking one information format element shared in the information format set as a target information format; and under the condition that the information format set is an empty set, comparing the information format sets of opposite terminal devices of the N first devices, and determining matched information format elements as target information formats according to the crossing condition of the information format sets, wherein the total number of the opposite terminal devices of the first devices is more than or equal to N and is more than or equal to 2.
In some optional implementations of the present embodiment, the system further comprises a first information collecting unit (not shown in the figure) configured to: data information of opposite end devices of all the first devices is collected.
The data information of the opposite terminal device of the first device may include at least one of the following: device model, device configuration, device status, device type, etc.
It may be appreciated that in the above alternative implementation manner, the first information collecting unit may collect data information of the peer devices of all the first devices, for example, device model numbers, device configurations, device states, device types, and the like. Thus, the management of the opposite terminal devices of the plurality of first devices can be realized more conveniently.
In some optional implementations of the present embodiment, the system further includes a classification unit (not shown in the figures) configured to: the peer devices of the plurality of first devices are classified based on data information of the peer devices of the plurality of first devices.
The data information of the opposite terminal device of the first device may include at least one of the following: device model, device configuration, device status, device type, etc.
Here, the opposite-end devices of the first devices having the same data information may be determined as the same class, and the opposite-end devices of the first devices having different data information may be determined as different classes.
It can be appreciated that in the above alternative implementation manner, by classifying the peer devices of the plurality of first devices, the target transmission information may be respectively transmitted to the peer devices of each first device according to the classified categories, so that the transmission accuracy of the target transmission information may be improved.
In some optional implementations of the present embodiment, the system further comprises a second information collecting unit (not shown in the figure) configured to: and storing a corresponding relation table between the opposite terminal equipment of the first equipment and the target information format.
It can be understood that in the above alternative implementation manner, the second information collecting unit stores the correspondence table between the peer device of the first device and the target information format, so that the transmission efficiency of the target transmission information can be improved.
In some optional implementations of the present embodiment, the system further includes a listening unit (not shown in the figure) configured to at least one of:
the first item monitors the device status of the peer device of the first device.
The device state may include a login state of the opposite device of the first device to the interface interconnection software, a network connection state, and the like.
Second, it is monitored whether the receiving unit 10 receives the initial transmission information.
And thirdly, monitoring whether the opposite terminal equipment of the first equipment successfully receives the target transmission information.
It can be appreciated that in the above alternative implementation manner, the monitoring unit may determine the device state of the peer device of the first device, determine whether the receiving unit 10 receives the initial transmission information, and determine whether the peer device of the first device successfully receives the target transmission information, so that the generation of the target transmission information and the monitoring of the key node in the transmission process may be implemented, thereby ensuring that the whole transmission process is implemented more timely and accurately.
In some optional implementations of the present embodiment, the receiving unit 10 is configured to: and receiving the initial transmission information in the first information format sent by the first equipment.
It may be appreciated that in the above alternative implementation manner, the receiving unit 10 may receive, from the first device, the initial transmission information in the first information format sent by the first device, and further may assist the first device to transmit, to the corresponding peer devices of the first device, different target transmission information that is supported by the peer devices of different first devices through the above information generating and transmitting system.
It should be noted that, in addition to the above descriptions, the present embodiment may further include the corresponding technical features described in the above embodiments, so as to achieve the technical effects of the method for generating and transmitting information, and specific reference is made to the above description, which is omitted herein for brevity.
The information generation and transmission system provided by the embodiment of the application comprises a receiving unit, a determining unit and a sending unit, wherein: the receiving unit is configured to receive initial transmission information; transmitting the initial transmission information to the transmitting unit; the determining unit is configured to determine an information format supported by opposite terminal equipment of the first equipment to be processed, and obtain a target information format; the transmitting unit is configured to generate target transmission information based on the initial transmission information and a target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information; and transmitting the target transmission information to the opposite terminal equipment of the first equipment. When the information is required to be transmitted to the opposite terminal equipment of the first equipment, the information format which can be supported by the opposite terminal equipment of the first equipment at present is prejudged, the information format which can be successfully processed by the opposite terminal equipment of the first equipment is determined, and then the information to be transmitted is transmitted to the opposite terminal equipment of the first equipment according to the information format which is supported by the opposite terminal equipment of the first equipment at present. In addition, the first device keeps outputting the initial transmission information in a first information format (e.g., h.264 video data transmission format), and the first device does not need to store transmission information in multiple information formats. In this way, the format of the information content in the target transmission information received by the opposite terminal device of the first device can be ensured, and the opposite terminal device of the first device can process (for example, normally receive and display) the information content, thereby improving the effectiveness of information content transmission. Because the target transmission information has the information format which is supported by the opposite terminal equipment of the first equipment to be processed, the user can normally acquire the content of the target transmission information, and the user can receive the transmission information on schedule. In some cases, the first device may send the initial transmission information to the present system in an information flow manner, without performing format conversion on the initial transmission information, so that the method can reduce transmission jamming of the first device and reduce operation load of the first device.
Referring to fig. 3, fig. 3 is an application flow diagram of an information generating and transmitting system according to an embodiment of the present application.
In the above application scenario, the number of access devices may be plural. Specifically, the access device may be a plurality of devices in a preset device set. For example, the access device may be a terminal device used by staff of a company or a department. After a terminal device logs in the interface interconnection software, the terminal device can be used as an access device; alternatively, in the case where one terminal device logs in the interface interconnecting software and is divided into preset packets, the terminal device may function as an access device. A single content multi-sharing system may categorize individual access devices. Here, according to the manner shown in fig. 4, the single content multi-sharing system may first obtain device information recorded by a user or reported by a device (i.e., an access device), and then the single content multi-sharing system may determine whether the device is already in a predetermined device set. The device set may be a set of devices that have access to a single content multi-sharing system. If the device is already in the predetermined device set, the saved device information of the device can be updated based on the reported device information. If the device is not in the predetermined device set, the device information of the device may be saved. Further, the single content multi-sharing system may classify the device based on the device information of the device and confirm the information form supported by the device. The first device may, after receiving the information to be shared (i.e., the initial transmission information described above), convert the form of the information to be shared into the target form (i.e., the target format information described above) based on the information to be shared and the information form supported by the device. And then, the single content multi-element sharing system can determine the information form supported by the opposite terminal equipment according to the equipment type of the opposite terminal equipment and send the information form to the opposite terminal equipment. Wherein the peer device may be one or more of the above-mentioned access devices. Then, the single content multi-element sharing system can monitor whether the opposite terminal equipment receives and opens the information sent to the opposite terminal equipment, if the opposite terminal equipment does not receive the information or the opposite terminal equipment does not successfully open the information within a certain time range, the process of determining the equipment information of the equipment is executed again.
The peer device may be one or more devices to receive information to be shared (i.e. the initial transmission information) in the access device.
In some cases, the first device may send the initial transmission information to the single content multi-sharing system (i.e., the information generating and transmitting system), that is, the initial transmission information may be sent to the single content multi-sharing system via the first device, and the first device may implement a process of converting the initial transmission information into the target transmission information via the single content multi-sharing system without converting the initial transmission information into the target transmission information.
In addition, as shown in fig. 5, the single content multi-sharing system may maintain information forms (i.e., the target information formats) of a plurality of devices (e.g., the access devices or the peer devices). Also, as shown in fig. 6, in the case where the current form of information supports conversion, a conversion method may be called, and in the case where the current form of information does not support conversion, a sender may be prompted for a transmission failure.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and an electronic device 500 shown in fig. 9 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in the electronic device 500 are coupled together by a bus system 505. It is understood that bus system 505 is used to enable connected communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 505 in fig. 9.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, a trackball, a touch pad, or a touch screen, etc.).
It is to be appreciated that the memory 502 in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 5022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like for realizing various application services. A program for implementing the method of the embodiment of the present application may be included in the application 5022.
In this embodiment, the processor 501 is configured to execute the method steps provided in the method embodiments by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022.
The method disclosed in the embodiments of the present application may be applied to the processor 501 or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software elements in a decoded processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 502, and the processor 501 reads information in the memory 502 and, in combination with its hardware, performs the steps of the method described above.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (dspev, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units configured to perform the above-described functions of the application, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The electronic device provided in this embodiment may be an electronic device as shown in fig. 9, and may perform all the steps of the above-described method for generating and transmitting each piece of information, so as to achieve the technical effects of the above-described method for generating and transmitting each piece of information, and specific reference should be made to the above-described related description, which is omitted herein for brevity.
The embodiment of the application also provides a storage medium (computer readable storage medium). The storage medium here stores one or more programs. Wherein the storage medium may comprise volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
When one or more programs in the storage medium are executable by one or more processors, the method for generating and transmitting information executed on the electronic device side is implemented.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "includes," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order described or illustrated, unless an order of performance is explicitly stated. It should also be appreciated that additional or alternative steps may be used.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

1. A method for generating and transmitting information, the method comprising:
receiving initial transmission information sent in a first information format from a first device;
determining an information format supported by opposite terminal equipment of the first equipment to be processed to obtain a target information format;
generating target transmission information based on the initial transmission information and the target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information;
and transmitting the target transmission information to the opposite terminal equipment of the first equipment.
2. The method of claim 1, wherein determining that the peer device of the first device supports the processed information format, and obtaining the target information format, comprises:
Acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment;
generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number;
and taking one information format element in the information format set as a target information format.
3. The method of claim 2, wherein the data information further comprises a number of devices, the method further comprising:
under the condition that the opposite terminal equipment of the first equipment is one, any one information format element in the information format set is used as a target information format;
comparing the information format sets of the opposite terminal devices of each first device under the condition that the opposite terminal devices of the first device are a plurality of, and taking any one information format element in the information format sets as a target information format under the condition that the information format sets are the same; in the case that the information format set is an intersecting set, taking one information format element shared in the information format set as a target information format; and under the condition that the information format set is an empty set, comparing the information format sets of opposite terminal devices of the N first devices, and determining matched information format elements as target information formats according to the crossing condition of the information format sets, wherein the total number of the opposite terminal devices of the first devices is more than or equal to N and is more than or equal to 2.
4. The method of claim 3, wherein generating the target transmission information based on the initial transmission information and the target information format comprises:
determining whether the first information format and the target information format are the same;
under the condition that the first information format and the target information format are different, converting at least part of information content of the initial transmission information from the first information format to the target information format to obtain target transmission information;
in the case where the first information format and the target information format are the same, the initial transmission information is determined as the target transmission information.
5. The method according to claim 1, wherein in the case that the peer device of the first device supports processing at least two information formats, the determining that the peer device of the first device supports processing the information formats, to obtain the target information format, includes:
determining network transmission performance between opposite end equipment of the first equipment;
and determining an information format matched with the network transmission performance from at least two information formats supported by the opposite terminal equipment of the first equipment as a target information format.
6. The method according to claim 1, wherein in the case that the peer device of the first device supports processing at least two information formats, the determining that the peer device of the first device supports processing the information formats, to obtain the target information format, includes:
Determining the time length for respectively converting the information format of at least part of information content of the initial transmission information into each information format, and respectively obtaining the conversion time length corresponding to at least two information formats;
comparing the obtained conversion time length and determining the conversion time length with the shortest time length;
and determining the information format corresponding to the conversion duration with the shortest duration as the target information format.
7. The method according to one of claims 1 to 6, wherein after said transmitting the target transmission information to the peer device of the first device, the method further comprises:
determining whether the opposite terminal equipment of the first equipment successfully receives the target transmission information;
and under the condition that the opposite terminal equipment of the first equipment does not successfully receive the target transmission information, generating another target transmission information in another information format, and sending the other target transmission information to the opposite terminal equipment of the first equipment.
8. A system for generating and transmitting information, the system comprising a receiving unit, a determining unit and a transmitting unit, wherein:
the receiving unit is configured to receive initial transmission information; transmitting the initial transmission information to the transmitting unit;
the determining unit is configured to determine an information format supported by opposite terminal equipment of the first equipment to be processed, and obtain a target information format;
The transmitting unit is configured to generate target transmission information based on the initial transmission information and a target information format, wherein the target transmission information has the target information format and contains at least part of information content of the initial transmission information; and transmitting the target transmission information to the opposite terminal equipment of the first equipment.
9. The system of claim 8, wherein the determination unit is configured to:
acquiring data information of opposite terminal equipment of first equipment, wherein the data information comprises equipment type, login state, networking state and network environment;
generating an information format set according to data information of opposite terminal equipment of the first equipment, wherein the information format set comprises M information format elements, and M is a natural number;
and taking one information format element in the information format set as a target information format.
10. The system of claim 9, wherein the data information further comprises a device number, the determining unit further configured to:
under the condition that the opposite terminal equipment of the first equipment is one, any one information format element in the information format set is used as a target information format;
comparing the information format sets of the opposite terminal devices of each first device under the condition that the opposite terminal devices of the first device are a plurality of, and taking any one information format element in the information format sets as a target information format under the condition that the information format sets are the same; in the case that the information format set is an intersecting set, taking one information format element shared in the information format set as a target information format; and under the condition that the information format set is an empty set, comparing the information format sets of opposite terminal devices of the N first devices, and determining matched information format elements as target information formats according to the crossing condition of the information format sets, wherein the total number of the opposite terminal devices of the first devices is more than or equal to N and is more than or equal to 2.
11. The system of claim 10, further comprising a first information collection unit configured to:
data information of opposite end devices of all the first devices is collected.
12. The system of claim 11, further comprising a classification unit configured to:
the peer devices of the plurality of first devices are classified based on data information of the peer devices of the plurality of first devices.
13. The system of claim 12, further comprising a second information gathering unit configured to:
and storing a corresponding relation table between the opposite terminal equipment of the first equipment and the target information format.
14. The system of claim 13, further comprising a listening unit configured to at least one of:
monitoring the equipment state of opposite-end equipment of the first equipment;
monitoring whether the receiving unit receives initial transmission information;
and monitoring whether the opposite terminal equipment of the first equipment successfully receives the target transmission information.
15. The system according to one of claims 8-14, wherein the receiving unit is configured to:
And receiving the initial transmission information in the first information format sent by the first equipment.
CN202311714332.1A 2023-12-13 2023-12-13 Information generation and transmission method and system Pending CN117687962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311714332.1A CN117687962A (en) 2023-12-13 2023-12-13 Information generation and transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311714332.1A CN117687962A (en) 2023-12-13 2023-12-13 Information generation and transmission method and system

Publications (1)

Publication Number Publication Date
CN117687962A true CN117687962A (en) 2024-03-12

Family

ID=90131567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311714332.1A Pending CN117687962A (en) 2023-12-13 2023-12-13 Information generation and transmission method and system

Country Status (1)

Country Link
CN (1) CN117687962A (en)

Similar Documents

Publication Publication Date Title
US10320623B2 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
US7509304B1 (en) Message distribution system and method for providing notification(s)
US9672826B2 (en) System and method for efficient unified messaging system support for speech-to-text service
CN110309005B (en) Function calling method and device, terminal equipment and storage medium
US20070150512A1 (en) Collaborative meeting assistant
US10795886B1 (en) Dynamic query routing system
US10506392B1 (en) Stream-processing of telecommunication diameter event records
CN104301384A (en) Data acquisition method, device and system
US20200412875A1 (en) System, device, and method of performing data analytics for advising a sales representative during a voice call
US20110106884A1 (en) Systems and methods for networking across web based and telecommunication based portals
US20150058868A1 (en) Techniques for a common object model
US8195718B2 (en) Methods and systems for aggregating content in an instant messaging system
US9106596B2 (en) Method and apparatus of configuring a data broadcast service
US20100274823A1 (en) Method, apparatus and computer program product for providing an adaptive context model framework
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN117687962A (en) Information generation and transmission method and system
CN108011964A (en) Picture upload method, device, electric terminal and readable storage medium storing program for executing
CN110264035A (en) Configuration method, device, terminal and the storage medium of workflow
CN116312472A (en) Method and device for designing robot speaking group, computer equipment and storage medium
CN113672488A (en) Log text processing method and device
US10679391B1 (en) Mobile phone notification format adaptation
CN112383466B (en) Multi-scene chatting method and device
CN115134328B (en) Corner mark configuration method and device, computer equipment and readable storage medium
US12021807B2 (en) Aggregation and aggregation omission of messages
CN116582406B (en) Method and device for uploading monitoring data

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