CN109347898B - Scene information sending method, scene information display method, server and mobile terminal - Google Patents

Scene information sending method, scene information display method, server and mobile terminal Download PDF

Info

Publication number
CN109347898B
CN109347898B CN201810946990.6A CN201810946990A CN109347898B CN 109347898 B CN109347898 B CN 109347898B CN 201810946990 A CN201810946990 A CN 201810946990A CN 109347898 B CN109347898 B CN 109347898B
Authority
CN
China
Prior art keywords
scene information
information
scene
template
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810946990.6A
Other languages
Chinese (zh)
Other versions
CN109347898A (en
Inventor
白渊玲
陈新
苏大伏
邓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Montnets Technology Co ltd
Original Assignee
Shenzhen Montnets 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 Shenzhen Montnets Technology Co ltd filed Critical Shenzhen Montnets Technology Co ltd
Priority to CN201810946990.6A priority Critical patent/CN109347898B/en
Publication of CN109347898A publication Critical patent/CN109347898A/en
Application granted granted Critical
Publication of CN109347898B publication Critical patent/CN109347898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention is applicable to the technical field of communication, and provides a sending method and a display method of scene information, a server and a mobile terminal. The server in the invention acquires an information push request containing information types and information parameters, acquires a corresponding scene information template and a scene information control, generating scene information resources according to the information parameters, the scene information template and the scene information control, sending the scene information resources to the mobile terminal, generating scene information according to the scene information resources by the mobile terminal, displaying the scene information on a preset page, if the preset page contains the operation control, the user is also required to perform corresponding triggering operation on the operation control to display the corresponding content, the scene information is combined with the scene information template and the scene information control, and different scene information templates and scene information controls correspond to different display effects, so that the problem of single information display style is solved, the scene information is not limited by word number, and the information bearing capacity is improved.

Description

Scene information sending method, scene information display method, server and mobile terminal
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a sending method and a display method of scene information, a server and a mobile terminal.
Background
With the development of internet technology, mobile terminals (e.g., mobile phones) have been widely used, and have become an important channel for users to obtain information. More and more travel, shopping, finance, catering, express logistics, convenience for people and life and other information related to the information of the user are sent to the mobile terminal of the user in a common short message mode, and the common short message generally only contains character information, is single in display form, is limited in number of words and is small in bearing capacity.
Therefore, the prior art has the problems of single display form and small bearing capacity by sending the common short message containing the information to the mobile terminal.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for sending and displaying scene information, a server, and a mobile terminal, so as to solve the problems of a single presentation form and a small carrying capacity in a manner of sending a common short message including information to a mobile terminal in the prior art.
A first aspect of an embodiment of the present invention provides a method for sending context information, which is applied to a server, and the method for sending context information includes:
the method comprises the steps of obtaining an information pushing request, wherein the information pushing request comprises information parameters and information types.
And acquiring a scene information template corresponding to the information type.
And acquiring a scene information control according to the information parameters.
And generating scene information resources according to the information parameters, the scene information template and the scene information control.
And sending the scene information resource to a mobile terminal, wherein the scene information resource is used for indicating the mobile terminal to display corresponding scene information.
A second aspect of an embodiment of the present invention provides a server, including:
the push request acquisition module is used for acquiring an information push request, and the information push request comprises information parameters and an information type.
And the information template acquisition module is used for acquiring the scene information template corresponding to the information type.
And the information control acquiring module is used for acquiring the scene information control according to the information parameters.
And the scene information resource generating module is used for generating scene information resources according to the information parameters, the scene information template and the scene information control.
And the scene information resource sending module is used for sending the scene information resource to the mobile terminal, and the scene information resource is used for indicating the mobile terminal to display corresponding scene information.
A third aspect of the embodiments of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for transmitting scene information as described above when executing the computer program.
A fourth aspect of the present invention provides a method for displaying scene information, which is applied to a mobile terminal, and the method for displaying scene information includes:
and receiving the scene information resource sent by the server.
And generating scene information according to the scene information resource.
And displaying the scene information on a preset page.
And if the preset page contains an operation control, displaying corresponding content according to the received trigger operation implemented on the operation control.
A fifth aspect of an embodiment of the present invention provides a mobile terminal, including:
and the scene information resource receiving module is used for receiving the scene information resource sent by the server.
And the scene information generating module is used for generating scene information according to the scene information resources.
And the scene information display module is used for displaying the scene information on a preset page.
And the operation control processing module is used for displaying corresponding content according to the received trigger operation implemented on the operation control if the preset page contains the operation control.
A sixth aspect of the embodiments of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for displaying scene information as described above when executing the computer program.
A seventh aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method for transmitting scene information or the steps of the method for displaying scene information as described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the embodiment obtains an information push request containing information types and information parameters through a server, obtains a corresponding scene information template and a corresponding scene information control, generates a scene information resource according to the information parameters, the scene information template and the scene information control, sends the scene information resource to a mobile terminal, transfers the terminal to generate scene information according to the scene information resource, and displays the scene information on a preset page, if the preset page contains an operation control, a user needs to perform corresponding trigger operation on the operation control to display corresponding content, and different scene information templates and scene information controls correspond to different display effects due to the fact that the scene information is combined with the scene information template and the scene information control, so that the problem of single information display style is solved, the richness of the information is improved, and the scene information is not limited by the number of words, therefore, the bearing capacity and the expandability of the information are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a method for sending context information according to an embodiment of the present invention;
FIG. 2 is a block diagram of a server according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of a method for displaying scene information according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a server provided by one embodiment of the present invention;
fig. 6 is a schematic diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 shows an implementation process of a method for sending context information according to an embodiment of the present invention, where a flow execution subject according to an embodiment of the present invention may be a server, and a process thereof is detailed as follows:
in step S101, an information push request is obtained, where the information push request includes an information parameter and an information type.
In this embodiment, when a business or an individual wants to push information to a mobile terminal, the server may generate a corresponding scene information resource to send to the mobile terminal by sending an information push request to the server.
In the present embodiment, the information type may be a bank card bill type, a credit card bill information type, a payroll type, and a coupon type.
In this embodiment, the server may include a preprocessing sub-server, a sending sub-server and a downloading sub-server, and each of the sub-servers is responsible for different tasks, so as to improve the response speed and the operation efficiency of the server.
In this embodiment, each information type has a corresponding information parameter, and the information parameter is a content included in a scene displayed on the mobile terminal.
In step S102, a scene information template corresponding to the information type is acquired.
In this embodiment, each information type has a corresponding scene information template, and when the preprocessing sub-server receives the information push request, the preprocessing sub-server searches for a scene information template ID corresponding to the information type included in the information push request, for example, the information type included in the information push request is a bank card bill type, and searches for a scene information template ID corresponding to the bank card bill type. And the preprocessing sub-server sends the scene information template ID to the sending sub-server, and the sending sub-server downloads the scene information template corresponding to the scene information template ID from the downloading sub-server.
Optionally, the preprocessing sub-server may further receive a custom scene information template uploaded by the user, and the user may define the template according to the needs of the user, so that the scene information finally displayed on the mobile terminal better conforms to the characteristics of the enterprise.
In the present embodiment, a scene information template is suitable for one application scene, that is, for one information type. For example, the secure scene template is suitable for a secure scene, i.e. the information received by the mobile terminal contains content that is not intended to be seen by other users.
In step S103, a scene information control is obtained according to the information parameter.
Optionally, step S103 includes:
1) and detecting whether the information parameters contain preset keywords.
2) And if the information parameters contain preset keywords, acquiring scene information controls corresponding to the preset keywords.
In this embodiment, whether the information parameter includes a preset keyword is determined, if the information parameter includes the preset keyword, a scene information control corresponding to the preset keyword is obtained, and if the information parameter does not include any preset keyword, the scene information control does not need to be obtained.
In this embodiment, the preprocessing sub-server obtains a scene information control ID corresponding to a preset keyword, and sends the scene information control ID to the sending sub-server, and the sending sub-server downloads a scene information control corresponding to the scene information control ID from the downloading sub-server.
In this embodiment, the preprocessing sub-server only needs to acquire the scene information template ID and the scene information control ID and send the scene information template ID and the scene information control ID to the sending sub-server, the sending sub-server only needs to download the corresponding file from the downloading sub-server according to the scene information template ID and the scene information control ID, and each sub-server is only responsible for part of work, so that the running speed of the sub-server can be increased.
In this embodiment, the scene information space includes a privacy control, and the effect of its display is to form an operation control on the display page of the mobile terminal, where the operation control includes a scratch coating and can be operated by the user, the scratch coating covers information, and the user can scratch the coating through a trigger operation to display the covered information.
In step S104, a scene information resource is generated according to the information parameter, the scene information template, and the scene information control.
Optionally, step S104 includes:
1) and acquiring an initial scene configuration file and an information position mapping table corresponding to the scene information template.
2) And inserting the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file.
3) And operating the target scene configuration file based on the scene information template to generate scene information.
4) And generating a scene information resource, wherein the scene information resource comprises a download address of the scene information.
In this embodiment, the information location mapping table includes information parameters and locations of scene information controls in an initial scene configuration file, and each scene information template has a corresponding information location mapping table.
In this embodiment, the scene information control may achieve a certain display effect, for example, a privacy effect, that is, sensitive information is hidden, and when a user does not perform a trigger operation on the scene information, the user cannot see the completed information.
In this embodiment, the sending sub-server downloads an initial scene configuration file and an information position mapping table corresponding to the scene information template from the downloading sub-server, and the sending sub-server inserts the information parameter and the scene information control into a corresponding position in the initial scene configuration file according to the information position mapping table to obtain the target scene configuration file. For example, if the information parameter includes a consumption amount, the consumption amount is inserted into a consumption amount position in an initial scene configuration file, where the initial scene information configuration file includes layout configuration information of the scene information, such as a position where the picture is located, a picture size, a text color, and the like.
In this embodiment, based on a scene information template, a target scene configuration file is run to obtain scene information, where the scene information template is equivalent to a container, the target scene configuration file is equivalent to a method for filling resources (i.e., information parameters and scene information controls) into the container, and the scene information is equivalent to a container already containing required resources.
Optionally, after the sending sub-server obtains the scene information, the scene information is sent to the downloading sub-server, the downloading sub-server allocates a download address for the scene information, and sends the download address to the sending sub-server, the sending sub-server sends the download address to the mobile terminal, and the mobile terminal can directly download the corresponding scene information from the downloading sub-server through the download address.
In this embodiment, the scene information resource is generated based on the first preset format, and the scene information resource includes a download address of the scene information, that is, the download address of the scene information is substituted into the position of the download address in the first preset format.
Optionally, step S104 includes:
1) and acquiring an initial scene configuration file and an information position mapping table corresponding to the scene information template.
2) And respectively distributing download addresses for the scene information template and the scene information control.
3) And generating scene information resources, wherein the scene information resources comprise information parameters, an initial scene configuration file, an information position mapping table, a downloading address of a scene information template and a downloading address of a scene information control.
In this embodiment, the sending sub-server sends the scene information template and the scene information control to the downloading sub-server, and the downloading sub-server allocates a downloading address for the scene information template and the scene information control respectively, where the downloading addresses of the scene information template and the scene information control may be the same or different.
In this embodiment, the sum of the sizes of the scene information template and the scene information control is calculated to obtain the total file size, if the total file size is not greater than the preset value, the same download address is allocated to the scene information template and the scene information control, and the mobile terminal can download the scene information template and the scene information control according to one download address, so that the operation steps required by downloading are reduced, and the downloading complexity is reduced.
In this embodiment, if the total file size is greater than the preset value, a different download address is respectively allocated to the scene information template and the scene information control, and the mobile terminal can respectively download the scene information template and the scene information control according to the download addresses of the scene information template and the scene information control, so that the occurrence of files with too long download time and link blockage caused by too large files is avoided.
In this embodiment, the sending sub-server generates a scene information resource based on a second preset format, where the scene information resource includes an information parameter, an initial scene configuration file, an information position mapping table, a download address of a scene information template, and a download address of a scene information control, the sending sub-server sends the scene information resource to the mobile terminal, the mobile terminal downloads the scene information template and the scene information control according to the download address of the scene information template and the download address of the scene information control, and the mobile terminal generates scene information according to the information parameter, the initial scene configuration file, the information position mapping table, the scene information template, and the scene information control.
In this embodiment, if the sending sub-server needs to generate more scene information currently and has a larger burden, in order to reduce the burden of the sending sub-server, the relevant file and information are sent to the second terminal, the second terminal completes the drawing of the scene information locally, and since the scene control and the scene template are larger than the set numerical value, in order to avoid the problem of link blockage caused by sending a large file, the download addresses of the scene control and the scene template are sent to the mobile terminal, and the mobile terminal obtains the corresponding file from the download server.
Optionally, step S104 includes:
1) and acquiring an initial scene configuration file and an information position mapping table corresponding to the scene information template.
2) And generating scene information resources based on the third preset format, wherein the scene information resources comprise information parameters, an initial scene configuration file, an information position mapping table, a scene information template and a scene information control.
In this embodiment, the download sub-server obtains the number of the currently connected mobile terminals, and if the number is greater than the preset access number, it indicates that the number of the currently accessed mobile terminals of the download sub-server is large, and the load capacity of the download sub-server is too large.
In step S105, a scene information resource is sent to the mobile terminal, where the scene information resource is used to instruct the mobile terminal to display corresponding scene information.
In this embodiment, the sending sub-server sends the scene information resource to the mobile terminal, where the content that the scene information resource may contain has three conditions, the first is that the scene information resource only contains a download address of the scene information, the second is that the scene information resource only contains an information parameter, an initial scene configuration file, an information position mapping table, a download address of the scene information template and a download address of the scene information control, and the third is that the scene information resource only includes an information parameter, an initial scene configuration file, an information position mapping table, a scene information template and a scene information control.
In this embodiment, the server obtains an information push request including an information type and an information parameter, and obtains a corresponding scene information template and a corresponding scene information control, generates a scene information resource according to the information parameter, the scene information template and the scene information control, sends the scene information resource to the mobile terminal, and the mobile terminal generates scene information according to the scene information resource and displays the scene information on a preset page, if the preset page includes an operation control, the user needs to perform a corresponding trigger operation on the operation control to display corresponding content, since the scene information is combined with the scene information template and the scene information control, different scene information templates and scene information controls correspond to different display effects, the problem of single information display style is solved, the richness of information is improved, and the scene information has no word number limitation, the user can add corresponding controls according to the self requirement, so that the bearing capacity and the expandability of the information are improved.
As shown in fig. 2, an embodiment of the present invention provides a server 100, configured to execute the method steps in the embodiment corresponding to fig. 1, where the method includes:
the push request obtaining module 110 is configured to obtain an information push request, where the information push request includes an information parameter and an information type.
The information template obtaining module 120 is configured to obtain a scene information template corresponding to the information type.
And an information control acquiring module 130, configured to acquire a scene information control according to the information parameter.
And the scene information resource generating module 140 is configured to generate a scene information resource according to the information parameter, the scene information template, and the scene information control.
And a scene information resource sending module 150, configured to send the scene information resource to the mobile terminal, where the scene information resource is used to instruct the mobile terminal to display corresponding scene information.
Optionally, the information control acquiring module 130 includes:
and the keyword detection unit is used for detecting whether the information parameters contain preset keywords or not.
And the information control acquiring unit is used for acquiring the scene information control corresponding to the preset keyword if the information parameter contains the preset keyword.
Optionally, the scene information resource generating module 140 includes:
the first information acquisition unit is used for acquiring an initial scene configuration file and an information position mapping table corresponding to a scene information template.
And the target configuration file generating unit is used for inserting the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file.
And the scene information generating unit is used for operating the target scene configuration file based on the scene information template to generate the scene information.
And the first scene information resource generating unit is used for generating scene information resources, and the scene information resources comprise download addresses of the scene information.
Optionally, the scene information resource generating module 140 includes:
and the second information acquisition unit is used for acquiring the initial scene configuration file and the information position mapping table corresponding to the scene information template.
And the download address allocation unit is used for allocating download addresses for the scene information template and the scene information control respectively.
And the second scene information resource generating unit is used for generating scene information resources, and the scene information resources comprise information parameters, an initial scene configuration file, an information position mapping table, a downloading address of a scene information template and a downloading address of a scene information control.
In one embodiment, the server 100 further includes other functional modules/units, which are used to implement the method steps in the embodiment corresponding to the method for sending the context information.
Fig. 3 shows an implementation flow of a method for displaying scene information according to an embodiment of the present invention, where a flow execution subject according to an embodiment of the present invention may be a mobile terminal, and a process thereof is detailed as follows:
in step S201, a scene information resource transmitted by a server is received.
In step S202, scene information is generated from the scene information resource.
In this embodiment, after receiving the scene information resource sent by the server, the mobile terminal detects the content included in the scene information resource, and if it is detected that the scene information resource only includes the download address of the scene information, directly downloads the corresponding scene information from the download sub-server according to the download address. If the scene information resource is detected to contain the information parameters, the initial scene configuration file, the information position mapping table, the download address of the scene information template and the download address of the scene information control, the mobile terminal downloads the corresponding scene information template and the scene information control from the download sub-server according to the download address of the scene information template and the download address of the scene information control, the mobile terminal inserts the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file, and the target scene configuration file is operated based on the scene information template to generate the scene information. If the scene information resources are detected to contain the information parameters, the initial scene configuration file, the information position mapping table, the scene information template and the scene information control, the information parameters and the scene information control are inserted into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file, and the target scene configuration file is operated based on the scene information template to generate the scene information.
In step S203, the scene information is displayed on a preset page.
In this embodiment, the scene information is displayed on a preset page, and the preset page may be a short message page.
In step S204, if the preset page includes the operation control, the corresponding content is displayed according to the received trigger operation performed on the operation control.
In this embodiment, the mobile terminal determines whether a preset page displaying scene information includes an operation control, receives a trigger operation performed by a user on the operation control if it is detected that the preset page includes the operation control, determines whether the trigger operation corresponds to a preset trigger operation corresponding to the operation control, displays corresponding content if the trigger operation corresponds to the preset trigger operation, and prompts the user of a correct trigger operation if the trigger operation does not correspond to the preset trigger operation, where the correct trigger operation is the preset trigger operation.
Taking a specific application scenario as an example, the operation control includes a scratch coating, the scratch coating covers some information, for example, the scratch coating covers coupon amount, wage income, or wage bar, and the like, if a user wants to see the information covered by the scratch coating, the user only needs to perform a trigger operation on the scratch coating, the mobile terminal determines whether the trigger operation corresponds to a preset trigger operation corresponding to the operation control, and if the trigger operation corresponds to the preset trigger operation, the coupon amount, wage income, or wage bar, and the like covered by the scratch coating is displayed, and the preset trigger operation may include touching, scratching, wiping, or sliding, thereby avoiding the occurrence of a situation of revealing the privacy of the user.
Optionally, if the mobile terminal presets some scene information templates, the sending sub-server only needs to send the scene information template ID to the mobile terminal, and the mobile terminal locally obtains the scene information template corresponding to the scene information template ID.
The preset scene information template comprises a pre-stored scene information template or a previously downloaded scene information template.
As shown in fig. 4, a mobile terminal 200 according to an embodiment of the present invention is configured to execute the method steps in the embodiment corresponding to fig. 3, and includes:
the context information resource receiving module 210 is configured to receive a context information resource sent by a server.
And a scene information generating module 220, configured to generate scene information according to the scene information resource.
And a scene information display module 230, configured to display the scene information on a preset page.
And the operation control processing module 240 is configured to, if the preset page includes an operation control, display corresponding content according to the received trigger operation performed on the operation control.
In one embodiment, the mobile terminal 200 further includes other functional modules/units, which are used to implement the steps included in each embodiment corresponding to the above-mentioned method for displaying scene information.
Fig. 5 is a schematic diagram of a server provided by an embodiment of the present invention. As shown in fig. 5, the server 100 of this embodiment includes: the system comprises a processor 50, a memory 51 and a computer program 52 stored in the memory 51 and operable on the processor 50, wherein the processor 50 implements the steps in each embodiment corresponding to the method for transmitting the scene information, for example, steps S101 to S105 shown in fig. 1, when executing the computer program. Alternatively, the processor 50 implements the functions of the modules in the apparatus embodiments as described in fig. 2 when executing the computer program, and the server 100 may be a computing device such as a desktop computer, a notebook computer, a palm computer, and a cloud server. The server 100 may include, but is not limited to, a processor 50, a memory 51. For example, the server 100 may also include input output devices, network access devices, buses, and the like.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 51 may be an internal storage unit of the server 100, such as a hard disk or a memory of the server 100. The memory 51 may also be an external storage device of the server 100, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device. Further, the memory 51 may also include both an internal storage unit of the server 100 and an external storage device. The memory 51 is used for storing the computer program and other programs and data required by the server 100. The memory 51 may also be used to temporarily store data that has been output or is to be output.
Fig. 6 is a schematic diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 6, the mobile terminal 200 of this embodiment includes: the system comprises a processor 60, a memory 61 and a computer program 62 stored in the memory 61 and capable of running on the processor 60, wherein the processor 60 executes the computer program to implement steps in the embodiments corresponding to the method for displaying scene information and steps in the embodiments described in embodiment 3, such as steps S201 to S204 shown in fig. 3. Alternatively, the processor 60 implements the functions of the modules in the device embodiments as shown in fig. 4 when executing the computer program, and the mobile terminal 200 may be a computing device such as a desktop computer, a notebook computer, a palm computer, and a cloud server. The mobile terminal 200 may include, but is not limited to, a processor 60, a memory 61. For example, the mobile terminal 200 may also include input-output devices, network access devices, buses, and the like.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the mobile terminal 200, such as a hard disk or a memory of the mobile terminal 200. The memory 61 may also be an external storage device of the mobile terminal 200, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device. Further, the memory 61 may also include both an internal storage unit and an external storage device of the mobile terminal 200. The memory 61 is used for storing the computer program and other programs and data required by the mobile terminal 200. The memory 61 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements steps of a method of transmitting scene information or steps of a method of displaying scene information, such as steps S101 to S105 shown in fig. 1 or steps S201 to S204 shown in fig. 3. Alternatively, the computer program realizes the functions of the respective modules in the respective apparatus embodiments described in fig. 2, such as the functions of the modules 110 to 150 shown in fig. 2 or the functions of the modules 210 to 240 shown in fig. 4, when executed by the processor.
The computer program may be stored in a computer readable storage medium, which when executed by a processor, may implement the steps of the various method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the system of the embodiment of the invention can be combined, divided and deleted according to actual needs.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for transmitting scene information is applied to a server, and the method for transmitting scene information comprises the following steps:
acquiring an information pushing request, wherein the information pushing request comprises information parameters and an information type;
acquiring a scene information template corresponding to the information type;
acquiring a scene information control according to the information parameters;
generating scene information resources according to the information parameters, the scene information template and the scene information control;
and sending the scene information resource to a mobile terminal, wherein the scene information resource is used for indicating the mobile terminal to display corresponding scene information.
2. The method for sending the scene information according to claim 1, wherein the obtaining the scene information control according to the information parameter includes:
detecting whether the information parameters contain preset keywords or not;
and if the information parameter contains the preset keyword, acquiring a scene information control corresponding to the preset keyword.
3. The method for sending scene information according to claim 1, wherein the generating a scene information resource according to the information parameter, the scene information template, and the scene information control includes:
acquiring an initial scene configuration file and an information position mapping table corresponding to the scene information template;
inserting the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file;
running the target scene configuration file based on the scene information template to generate the scene information;
and generating the scene information resource, wherein the scene information resource comprises a download address of the scene information.
4. The method for sending scene information according to claim 1, wherein the generating a scene information resource according to the information parameter, the scene information template, and the scene information control includes:
acquiring an initial scene configuration file and an information position mapping table corresponding to the scene information template;
distributing download addresses for the scene information template and the scene information control respectively;
and generating the scene information resource, wherein the scene information resource comprises the information parameter, the initial scene configuration file, the information position mapping table, the download address of the scene information template and the download address of the scene information control.
5. A server, comprising:
the system comprises a push request acquisition module, a push request acquisition module and a push request processing module, wherein the push request acquisition module is used for acquiring an information push request which comprises information parameters and an information type;
the information template acquisition module is used for acquiring a scene information template corresponding to the information type;
the information control acquiring module is used for acquiring a scene information control according to the information parameters;
the scene information resource generating module is used for generating scene information resources according to the information parameters, the scene information template and the scene information control;
and the scene information resource sending module is used for sending the scene information resource to the mobile terminal, and the scene information resource is used for indicating the mobile terminal to display corresponding scene information.
6. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method for transmitting scene information according to any one of claims 1 to 4 when executing the computer program.
7. A method for displaying scene information is applied to a mobile terminal, and comprises the following steps:
receiving scene information resources sent by a server;
generating scene information according to the scene information resources; after the mobile terminal receives the scene information resource sent by the server, detecting the content contained in the scene information resource, and if the scene information resource only contains the download address of the scene information, directly downloading the corresponding scene information from the download sub-server according to the download address of the scene information; if the scene information resource is detected to contain the information parameters, the initial scene configuration file, the information position mapping table, the download address of the scene information template and the download address of the scene information control, the mobile terminal downloads the corresponding scene information template and the scene information control from the download sub-server according to the download address of the scene information template and the download address of the scene information control, the mobile terminal inserts the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the position information mapping table to obtain a target scene configuration file, and the target scene configuration file is operated based on the scene information template to generate scene information; if the scene information resources are detected to contain information parameters, an initial scene configuration file, an information position mapping table, a scene information template and a scene information control, inserting the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file, and operating the target scene configuration file based on the scene information template to generate scene information;
displaying the scene information on a preset page;
and if the preset page contains an operation control, displaying corresponding content according to the received trigger operation implemented on the operation control.
8. A mobile terminal, comprising:
the scene information resource receiving module is used for receiving the scene information resource sent by the server;
the scene information generating module is used for generating scene information according to the scene information resources; after the mobile terminal receives the scene information resource sent by the server, detecting the content contained in the scene information resource, and if the scene information resource only contains the download address of the scene information, directly downloading the corresponding scene information from the download sub-server according to the download address of the scene information; if the scene information resource is detected to contain the information parameters, the initial scene configuration file, the information position mapping table, the download address of the scene information template and the download address of the scene information control, the mobile terminal downloads the corresponding scene information template and the scene information control from the download sub-server according to the download address of the scene information template and the download address of the scene information control, the mobile terminal inserts the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the position information mapping table to obtain a target scene configuration file, and the target scene configuration file is operated based on the scene information template to generate scene information; if the scene information resources are detected to contain information parameters, an initial scene configuration file, an information position mapping table, a scene information template and a scene information control, inserting the information parameters and the scene information control into the corresponding position in the initial scene configuration file according to the information position mapping table to obtain a target scene configuration file, and operating the target scene configuration file based on the scene information template to generate scene information;
the scene information display module is used for displaying the scene information on a preset page;
and the operation control processing module is used for displaying corresponding content according to the received trigger operation implemented on the operation control if the preset page contains the operation control.
9. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method for displaying scene information according to claim 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the steps of the method for transmitting scene information according to claims 1 to 4 or the steps of the method for displaying scene information according to claim 7.
CN201810946990.6A 2018-08-20 2018-08-20 Scene information sending method, scene information display method, server and mobile terminal Active CN109347898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810946990.6A CN109347898B (en) 2018-08-20 2018-08-20 Scene information sending method, scene information display method, server and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810946990.6A CN109347898B (en) 2018-08-20 2018-08-20 Scene information sending method, scene information display method, server and mobile terminal

Publications (2)

Publication Number Publication Date
CN109347898A CN109347898A (en) 2019-02-15
CN109347898B true CN109347898B (en) 2021-04-30

Family

ID=65291686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810946990.6A Active CN109347898B (en) 2018-08-20 2018-08-20 Scene information sending method, scene information display method, server and mobile terminal

Country Status (1)

Country Link
CN (1) CN109347898B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430233B (en) * 2019-06-28 2023-01-10 平安科技(深圳)有限公司 Scene file uploading method and device, computer equipment and storage medium
CN110519373B (en) * 2019-08-28 2022-04-26 百度在线网络技术(北京)有限公司 Method and device for pushing information
CN111176133A (en) * 2020-02-11 2020-05-19 青岛海信智慧家居系统股份有限公司 Method and device for determining smart home scene
CN112541841B (en) * 2020-12-14 2023-12-26 新奥数能科技有限公司 Method, device and terminal equipment for simulating past future data
CN113596086B (en) * 2021-06-25 2023-12-05 山东齐鲁数通科技有限公司 Method and system for controlling GIS large screen visual application based on scene configuration
CN115618025A (en) * 2022-10-08 2023-01-17 北京泰迪熊移动科技有限公司 Short message processing method, client, server and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420453A (en) * 2008-12-10 2009-04-29 中国电信股份有限公司 Customer terminal webpage representation implementing method used for enterprise information push application
CN102033944A (en) * 2010-12-21 2011-04-27 重庆新媒农信科技有限公司 Mobile terminal-based web page display system and method
CN102497435A (en) * 2011-12-16 2012-06-13 海南杰福瑞网络科技有限公司 Data distributing method and device of data service
WO2013123550A1 (en) * 2012-02-20 2013-08-29 Other Levels Pty Ltd Notification message generation
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN104767746A (en) * 2015-03-26 2015-07-08 上海大唐移动通信设备有限公司 Push message receiving method, message pushing method, client and server
CN106406846A (en) * 2015-08-03 2017-02-15 腾讯科技(深圳)有限公司 A display interface creating method and device
CN106843828A (en) * 2016-12-07 2017-06-13 腾讯科技(深圳)有限公司 interface display, loading method and device
CN107749861A (en) * 2017-11-16 2018-03-02 平安科技(深圳)有限公司 Information-pushing method, device, terminal device and storage medium
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system
CN108255552A (en) * 2017-12-22 2018-07-06 中国平安人寿保险股份有限公司 PUSH message method of reseptance, device, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160059069A (en) * 2014-11-17 2016-05-26 삼성전자주식회사 Apparatus and method for managing message

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420453A (en) * 2008-12-10 2009-04-29 中国电信股份有限公司 Customer terminal webpage representation implementing method used for enterprise information push application
CN102033944A (en) * 2010-12-21 2011-04-27 重庆新媒农信科技有限公司 Mobile terminal-based web page display system and method
CN102497435A (en) * 2011-12-16 2012-06-13 海南杰福瑞网络科技有限公司 Data distributing method and device of data service
WO2013123550A1 (en) * 2012-02-20 2013-08-29 Other Levels Pty Ltd Notification message generation
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN104767746A (en) * 2015-03-26 2015-07-08 上海大唐移动通信设备有限公司 Push message receiving method, message pushing method, client and server
CN106406846A (en) * 2015-08-03 2017-02-15 腾讯科技(深圳)有限公司 A display interface creating method and device
CN106843828A (en) * 2016-12-07 2017-06-13 腾讯科技(深圳)有限公司 interface display, loading method and device
CN107749861A (en) * 2017-11-16 2018-03-02 平安科技(深圳)有限公司 Information-pushing method, device, terminal device and storage medium
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system
CN108255552A (en) * 2017-12-22 2018-07-06 中国平安人寿保险股份有限公司 PUSH message method of reseptance, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109347898A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN109347898B (en) Scene information sending method, scene information display method, server and mobile terminal
CN110049456B (en) Method and device for displaying rich media on mobile terminal and mobile terminal
CN109542427B (en) System customization method and device, electronic equipment and storage medium
US8495617B2 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
CN111581473B (en) Webpage processing method
CN112230923A (en) User interface rendering method, user interface rendering device and server
CN105488125A (en) Page access method and apparatus
CN109815405B (en) Gray level shunting method and system
CN106570408A (en) Sensitive information display method and apparatus
CN110020371B (en) Method and device for page layout linkage based on react-native
US20190107929A1 (en) Method and device for loading content of page, and electronic device
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
TW201411522A (en) Sponsored applications
CN110058992B (en) Text template effect feedback method and device and electronic equipment
CN109656592B (en) Card management method, device, terminal and computer readable storage medium
CN109150694B (en) Dynamic scene information sending method, dynamic scene information display method, server and mobile terminal
CN111444448B (en) Data processing method, server and system
CN114520830A (en) Message pushing method, device and system
CN105243138B (en) Information-pushing method and device
US10140651B1 (en) Displaying item information relative to selection regions of an item image
CN108009226B (en) Promotion content display implementation method based on intelligent terminal application and intelligent terminal
CN109240660B (en) Access method of advertisement data, storage medium, electronic device and system
CN110188297B (en) Resource information display method, computing device and computer storage medium
CN109714381B (en) Consumption tracking based information pushing method, equipment, storage medium and device
CN107450921B (en) Application program deleting method and device, computer device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant