CN109150694A - Sending method, display methods and the server and mobile terminal of dynamic scene information - Google Patents
Sending method, display methods and the server and mobile terminal of dynamic scene information Download PDFInfo
- Publication number
- CN109150694A CN109150694A CN201810946866.XA CN201810946866A CN109150694A CN 109150694 A CN109150694 A CN 109150694A CN 201810946866 A CN201810946866 A CN 201810946866A CN 109150694 A CN109150694 A CN 109150694A
- Authority
- CN
- China
- Prior art keywords
- information
- state
- dynamic scene
- scene information
- terminal
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
Abstract
The present invention is suitable for field of communication technology, provides sending method, display methods and the server and mobile terminal of a kind of dynamic scene information.Server in the present invention obtains the information that first terminal is sent and pushes request, and generate corresponding dynamic scene information resources, dynamic scene information resources are sent to second terminal, second terminal generates dynamic scene information according to dynamic scene information resources, and it is shown in the default page, if the default page includes state parameter, it then generates state and updates request to server, after the state that server receives second terminal transmission updates request, forward it to first terminal, and the state for receiving first terminal feedback updates and requests corresponding current state information, the current state information is sent to second terminal by server, state parameter is updated by second terminal according to current state information, reduce the waste for sending cost and reducing storage resource.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of sending method of dynamic scene information, display methods and
Server and mobile terminal.
Background technique
With the development of internet technology, mobile terminal (for example, mobile phone), which has been obtained, is widely applied, mobile terminal
Have become the important channel that user obtains information.When the content that information includes needs to be changed with the variation of time
When, for example, monthly card residue number of days, enterprises end needs constantly to send the purpose that information realization updates the information content to user, for example,
Monthly card residue number of days is every to reduce one day, just sends an information to mobile terminal and informs monthly card current residual number of days.Work as enterprises end
When needing to update the information content, needing to send a plurality of information to mobile terminal could make user get up-to-date information in time, hair
Send at high cost, and mobile terminal can have a plurality of information, and resource is locally stored in occupancy.
Therefore, exist by way of constantly sending information realization and updating the information content in the prior art and send higher cost
And the problem of waste storage resource.
Summary of the invention
In view of this, the embodiment of the invention provides sending method, display methods and the services of a kind of dynamic scene information
Device and mobile terminal, by solve in the prior art by constantly send information realization update the information content in a manner of
There are problems that sending higher cost and wastes storage resource.
The first aspect of the embodiment of the present invention provides a kind of sending method of dynamic scene information, is applied to server,
The sending method of the dynamic scene information includes:
It receives the information that first terminal is sent and pushes request, and request is pushed according to the information and generates dynamic scene information
Resource;
The dynamic scene information resources are sent to second terminal, the dynamic scene information resources are used to indicate described
Second terminal shows corresponding dynamic scene information;
If receiving the state that the second terminal is sent updates request, state update request is sent to described
First terminal;
It receives the first terminal and updates the current state information of request feedback according to the state, and send it to institute
Second terminal is stated, the current state information is used to indicate the second terminal for the corresponding update of the state parameter of display.
The second aspect of the embodiment of the present invention provides a kind of server, comprising:
Information pushes request receiving module, for receiving the information push request of first terminal transmission, and according to the letter
Breath push request generates dynamic scene information resources;
Dynamic scene information resources sending module, for the dynamic scene information resources to be sent to second terminal, institute
It states dynamic scene information resources and is used to indicate the second terminal and show corresponding dynamic scene information;
State updates request receiving module, will if updating request for receiving the state that the second terminal is sent
The state updates request and is sent to the first terminal;
Current state information obtains module, updates working as request feedback according to the state for receiving the first terminal
Preceding status information, and the second terminal is sent it to, the current state information is used to indicate the second terminal and will show
The state parameter shown is corresponding to be updated.
The third aspect of the embodiment of the present invention provides a kind of server, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program
Now the step of sending method of dynamic scene information as described above.
The fourth aspect of the embodiment of the present invention provides a kind of display methods of dynamic scene information, is applied to second eventually
End, the display methods of the dynamic scene information include:
Receive the dynamic scene information resources that server is sent;
Dynamic scene information is generated according to the dynamic scene information resources;
The dynamic scene information is shown in the default page;
If the default page includes state parameter, state is generated according to the state parameter and updates request, and by institute
It states state update request and is sent to server;
The current state information of the server feedback is received, and by the state parameter according to the current state information
It is updated.
5th aspect of the embodiment of the present invention provides a kind of second terminal, comprising:
Dynamic scene information resources receiving module, for receiving the dynamic scene information resources of server transmission;
Dynamic scene information generating module, for generating dynamic scene information according to the dynamic scene information resources;
Dynamic scene information display module, for showing the dynamic scene information in the default page;
Request generation module is updated, it is raw according to the state parameter if including state parameter for the default page
It updates and requests at state, and the state is updated into request and is sent to server;
State information updating module is joined for receiving the current state information of the server feedback, and by the state
Number is updated according to the current state information.
6th aspect of the embodiment of the present invention provides a kind of second terminal, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
The step of realizing the display methods of dynamic scene information as described above.
7th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the hair of dynamic scene information as described above when being executed by processor
The step of display methods of the step of delivery method or the dynamic scene information.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the present embodiment obtains first by server
The information that terminal is sent pushes request, and generates corresponding dynamic scene information resources, and dynamic scene information resources are sent to
Second terminal, second terminal generates dynamic scene information according to dynamic scene information resources, and is shown in the default page, if default
The page includes state parameter, then generates state and update request to server, when server receives the state of second terminal transmission
The state for after updating request, forwarding it to first terminal, and receiving first terminal feedback, which updates, requests corresponding current state
The current state information is sent to second terminal by information, server, and second terminal is by state parameter according to current state information
It is updated, server only needs to send a dynamic scene information resources to second terminal, and works as the default page of second terminal
The interior state parameter comprising needing to be updated, then constantly obtain the current state information of state parameter by server, and presses
It is updated state parameter according to current state information, so that realizing dynamic updates dynamic scene information, server is without more
Secondary transmission dynamic scene information resources to second terminal, second terminal without a plurality of information is stored, reduce send cost with
And reduce the waste of storage resource.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the sending method of dynamic scene information provided by one embodiment of the present invention;
Fig. 2 is the structural schematic diagram of server provided by one embodiment of the present invention;
Fig. 3 is the implementation flow chart of the display methods of dynamic scene information provided by one embodiment of the present invention;
Fig. 4 is the structural schematic diagram of second terminal provided by one embodiment of the present invention;
Fig. 5 is the schematic diagram of server provided by one embodiment of the present invention;
Fig. 6 is the schematic diagram of second terminal provided by one embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning
Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and
" third " etc. is for distinguishing different objects, not for description particular order.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the sending method of the dynamic scene information of one embodiment of the present of invention offer, this
The process executing subject of inventive embodiments can be server, and details are as follows for process:
In step s101, the information push request that first terminal is sent is received, and is generated and is moved according to information push request
State scene information resource.
In the present embodiment, first terminal is the corresponding terminal of enterprise, when enterprise wants push dynamic scene information to the
When two terminals, by sending information push request to server, which pushes request according to information and generates corresponding dynamic
Scene information resource is sent to second terminal.
In the present embodiment, server may include pretreatment child servers, send child servers, control child servers and
Child servers are downloaded, each child servers are responsible for different work, both need to push according to information to avoid the occurrence of server
Request generates dynamic scene information resources and needs the request in response to the transmission of first terminal and second terminal again and cause response not
Timely and slow speed of service problem, improves the response speed and the speed of service of server.
Optionally, step S101 includes:
1) information type that information push request includes is obtained, the corresponding scene template of information type is chosen.
2) parameter that information push request includes, the corresponding scene control of Selecting All Parameters are obtained.
3) the corresponding initial dynamic scene information configuration file of scene template and information position mapping table are obtained.
4) according to information position mapping table, parameter and scene control are inserted into initial dynamic scene information configuration file
Corresponding position, obtain target dynamic scene information configuration file.
5) it is based on scene template, operational objective dynamic scene information configuration file generates dynamic scene information.
6) dynamic scene information resources are generated, dynamic scene information resources include the download address of dynamic scene information.
In the present embodiment, the information push request that first terminal is sent includes information type and parameter.
In the present embodiment, every kind of information type has corresponding parameter, and parameter is to be shown in second terminal to preset on the page
The dynamic scene information content that must include.
In the present embodiment, every kind of information type has corresponding scene template, the different corresponding scene templates of application scenarios
Difference, for example, the corresponding scene template of time reminding scene scene template corresponding from logistics distribution is different.Pre-process sub-services
When device receives information push request, the corresponding scene template ID of information type that information push request includes is searched, for example, letter
The information type that breath push request includes is Logistics Types, searches the corresponding scene template ID of Logistics Types.Pre-process sub-services
Scene template ID is sent to transmission child servers by device, is sent child servers and is downloaded ID pairs of scene template from downloading child servers
The scene information template answered, so that the dynamic scene information for being presented on second terminal be made to meet the demand of enterprise customer.
Optionally, pretreatment child servers can also receive the customized scene template of enterprise customer's upload, and enterprise uses
Family can be defined template according to their own needs, so as to finally more meet enterprise spy in the scene information that mobile terminal is shown
Color.
In the present embodiment, pretreatment child servers match parameter with predetermined keyword, judge whether parameter wraps
Containing predetermined keyword, if obtaining the corresponding scene control ID of predetermined keyword comprising predetermined keyword, if not comprising any
One predetermined keyword, then without obtaining scene control ID.
In the present embodiment, pretreatment child servers obtain the corresponding scene control ID of predetermined keyword, and by scene control
Part ID is sent to transmission child servers, sends child servers from the corresponding scene control of downloading child servers downloading scene control ID
Part.
In the present embodiment, pretreatment child servers only need to obtain scene template ID and scene control ID, and are sent to
To child servers are sent, sending child servers only need to download phase from downloading child servers according to scene template ID and scene control ID
The file answered, each child servers are merely responsible for part work, the speed of service of child servers can be improved.
In the present embodiment, information position mapping table includes parameter and scene control in initial dynamic scene information configuration text
Position in part, each scene template have corresponding information position mapping table.
In the present embodiment, certain bandwagon effect may be implemented in scene control, for example, clocking effect, constantly updates monthly card
Remaining time.
In the present embodiment, child servers are sent from the corresponding initial dynamic scene of downloading child servers downloading scene template
Information configuration file and information position mapping table send child servers according to information position mapping table, by parameter and scene control
It is inserted into corresponding position in initial dynamic scene information configuration file, obtains target dynamic scene information configuration file.For example,
Include remaining time in parameter, then remaining time is inserted into the position of the remaining time in initial dynamic scene information configuration file
It sets.Wherein, initial dynamic scene information configuration file includes the layout configuration information of dynamic scene information, for example, where picture
Position, picture size, text size and text color etc..
In the present embodiment, child servers are sent and is based on dynamic scene information model, operational objective dynamic scene information is matched
File is set, dynamic scene information can be obtained, scene template is equivalent to container, and target dynamic scene information configuration file is suitable
In the method that resource (i.e. parameter and scene control) is filled into container, dynamic scene information is equivalent to included required resource
Container.
Optionally, after transmission child servers obtain dynamic scene information, dynamic scene information is sent to lower carrier and is taken
Business device, downloading child servers are that dynamic scene information distributes a download address, and download address is sent to transmission sub-services
Device sends child servers for the download address and is sent to mobile terminal, and mobile terminal can be by the download address directly under
Carrier server downloads corresponding dynamic scene information.
In the present embodiment, child servers are sent and are based on the first preset format generation dynamic scene information resources, dynamic field
Scape information resources include the download address of dynamic scene information, i.e., the download address of dynamic scene information are substituting to first and preset
The position of download address in format.
Optionally, after the parameter for obtaining information push request and including, the corresponding scene control of Selecting All Parameters, packet
It includes:
1) the corresponding initial dynamic scene information configuration file of scene template and information position mapping table are obtained.
It 2) is respectively scene template and scene control distribution download address.
3) dynamic scene information resources are generated, dynamic scene information resources include parameter, initial dynamic scene information configuration
File, information position mapping table, the download address of scene template and scene control download address.
In the present embodiment, child servers are sent and scene template and scene control is sent to downloading child servers, downloaded
Child servers are respectively that scene template and scene control distribute a download address, the download address of scene template and scene control
It can be the same or different.
In the present embodiment, the sum of both scene template and scene control size is calculated, total file size is obtained, if total text
Part size is not more than preset value, then distributes the same download address, the i.e. downloading of scene template for scene template and scene control
Address is identical with the download address of scene control, and second terminal can download scene template and scene according to a download address
Control, operating procedure needed for reducing downloading, reduces the complexity of downloading.
In the present embodiment, if total file size is greater than preset value, one is distributed respectively for scene template and scene control
A different download address, second terminal can download scene template according to scene template and the download address of scene control respectively
With scene control, thus avoid the occurrence of cause download time too long since file is excessive and link block the problem of.
In the present embodiment, child servers are sent and are based on the second preset format generation dynamic scene information resources, dynamic field
Scape information resources include the download address of parameter, initial dynamic scene information configuration file, information position mapping table, scene template
With the download address of scene control, child servers are sent by the dynamic scene information resources and are sent to second terminal, second terminal
According to the download address of scene template and the download address of scene control downloading scene template and scene control, second terminal itself
Dynamic field is generated according to parameter, initial dynamic scene information configuration file, information position mapping table, scene template and scene control
Scape information.
In the present embodiment, if sending, the dynamic scene information that child servers currently need to generate is more, and burden is larger, is
Mitigate the burden for sending child servers, then send associated documents and information to second terminal, second terminal locally complete it is dynamic
The drafting of state scene information, and since scene control and scene template are larger, greater than the numerical value of setting, in order to avoid occur due to
The problem of big file causes link to block is sent, just the download address of transmission scene control and scene template to second terminal, the
Two terminals obtain corresponding file from download server.
Optionally, after the parameter for obtaining information push request and including, the corresponding scene control of Selecting All Parameters, packet
It includes:
1) the corresponding initial dynamic scene information configuration file of scene template and information position mapping table are obtained.
2) dynamic scene information resources are generated based on third preset format, dynamic scene information resources include parameter, initial
Dynamic scene information configuration file, information position mapping table, scene template and scene control.
In the present embodiment, downloading child servers obtain the number of current connected second terminal, if number is greater than in advance
If accessing number, then it represents that the number that current accessed downloads the second terminal of child servers is more, downloads the load of child servers
It is excessive, in order to mitigate the load of downloading child servers, then the first instruction is sent to child servers are sent, so as to send child servers
It is instructed based on third preset format first by parameter, initial dynamic scene information configuration file, information position mapping table, scene mould
Plate and scene control are sent directly to second terminal, and second terminal no longer needs to the resource needed for obtaining from download server, thus
Reduce the load of download server.
Optionally, step S101 includes:
If 1) detect, information push request includes state parameter, judges whether state parameter includes preset state key
Word.
2) if state parameter includes preset state keyword, the state scene control with preset state Keywords matching is chosen
Part.
3) corresponding dynamic scene information resources are generated according to state scene control.
In the present embodiment, parameter includes state parameter, and scene control includes state scene control.Pre-process child servers
Judge whether parameter includes state parameter, if parameter includes state parameter, pre-processes whether child servers judge state parameter
Including preset state keyword, if state parameter includes preset state keyword, the corresponding state of the predetermined keyword is chosen
Scene control ID, if state parameter does not include preset state keyword, without choosing state scene control.
Wherein, preset state keyword includes express delivery dispatching state, takes out dispatching state or queue number.
In the present embodiment, the state of state parameter is the variation with the time and is changed, and is needed from first
Terminal obtains last state, and state scene control, which realizes, constantly obtains last state, dynamic more new state ginseng from first terminal
Several effects.
In the present embodiment, each state scene control ID has corresponded to a kind of state update rule for updating state parameter.
After default child servers choose state scene control ID, the corresponding state of state scene control ID for obtaining selection updates rule
Then, and by the state update rule control child servers are sent to.Control child servers are correspondingly matched according to rule is updated
It sets, so that control child servers just can update the second state after the state for receiving second terminal transmission updates request
Request is sent to first terminal, and first terminal is sent to second eventually according to the current state information that state updates request feedback
End, improves the efficiency of update.
Optionally, second terminal first obtains the state of the state parameter on the default page when the state of transmission updates request
Then information generates state update request and is sent to control child servers.Child servers are pre-processed by state scene ID (i.e. state
Parameter) corresponding preset termination status information, and control child servers are sent it to, control child servers judge second terminal
Transmission state update request included state parameter status information whether be the state parameter preset termination status information,
If preset termination status information, then no longer need to be updated, that is, no longer need to update the state and request to be sent to first terminal,
If not preset termination status information, then the state is updated into request and be forwarded to first terminal.
Optionally, step S101 includes:
If 1) detect, information push request includes timing parameter, is judged crucial when whether timing parameter includes pre-designed
Word.
If 2) keyword when timing parameter includes pre-designed, the timing scene control of Keywords matching when choosing and is pre-designed
Part.
3) corresponding dynamic scene information resources are generated according to timing scene control.
In the present embodiment, parameter includes timing parameter, and scene control includes timing scene control.Pre-process child servers
Judge whether parameter includes timing parameter, if parameter includes timing parameter, pre-processes whether child servers judge timing parameter
Including it is pre-designed when keyword if keyword when timing parameter includes pre-designed choose the corresponding timing of the predetermined keyword
Scene control ID, if keyword when timing parameter does not include pre-designed, without obtaining timing scene control.
Wherein, keyword includes reminding (for example, when shared bicycle monthly card residue reservation prompting or remaining time when pre-designed
Between remind).
In the present embodiment, timing parameter is the variation with the time and is changed, but without in first eventually
End gets the newest time, and timing scene control is realized according to timing time, and dynamic updates what timing parameter was currently shown
The effect of time.
In step s 102, dynamic scene information resources are sent to second terminal, dynamic scene information resources are for referring to
Show that second terminal shows corresponding dynamic scene information.
In the present embodiment, child servers are sent, dynamic scene information resources is sent to second terminal, dynamic scene letter
There are three types of situations for the content that breath resource may include, the first only includes under dynamic scene information for dynamic scene information resources
Set address, second only includes that parameter, initial dynamic scene information configuration file, information position are reflected for dynamic scene information resources
The download address of firing table, the download address of dynamic scene information model and dynamic scene information control, the third is dynamic scene
Information resources only include parameter, initial dynamic scene information configuration file, information position mapping table, scene template and scene control
Part.Second terminal can flexibly generate dynamic scene information according to the content that dynamic scene information resources include.
In step s 103, if the state for receiving second terminal transmission updates request, state is updated into request and is sent
To first terminal.
In the present embodiment, if the state that control child servers receive second terminal transmission updates request, state updates
Request includes the state parameter for needing to be updated, which is updated request and is forwarded to first terminal, first terminal obtains shape
The newest status information of state parameter, i.e. current state information.
In step S104, receives first terminal and update the current state information of request feedback according to state, and sent out
It send to second terminal, current state information is used to indicate second terminal for the corresponding update of the state parameter of display.
In the present embodiment, control child servers receive first terminal and are believed according to the current state that state updates request feedback
Breath, and second terminal is sent it to, after second terminal receives the current state information, corresponding state parameter is carried out
It updates, so that the corresponding user of second terminal can get the newest status information of state parameter in time.
In the present embodiment, the information that server obtains that first terminal is sent pushes request, and generates corresponding dynamic field
Dynamic scene information resources are sent to second terminal by scape information resources, and second terminal is generated according to dynamic scene information resources
Dynamic scene information, and it is shown in the default page, if the default page includes state parameter, the state of generation updates request to service
Device forwards it to first terminal after the state that server receives second terminal transmission updates request, and receives first eventually
The state of end feedback, which updates, requests corresponding current state information, which is sent to second terminal by server,
State parameter is updated by second terminal according to current state information, and server only needs to send a dynamic scene information resources
To second terminal, and when comprising the state parameter for needing to be updated, then constantly passing through service in the default page of second terminal
Device obtains the current state information of state parameter, and is updated state parameter according to current state information, to realize dynamic
State updates dynamic scene information, and server is without the multiple dynamic scene information resources that send to second terminal, second terminal
Without storing a plurality of information, the waste for sending cost and reducing storage resource is reduced, is also not easy to cause that user's is anti-
Sense, improves user experience.
As shown in Fig. 2, the server 100 that one embodiment of the present of invention provides, for executing embodiment corresponding to Fig. 1
In method and step comprising:
Information pushes request receiving module 110, for receiving the information push request of first terminal transmission, and according to described
Information push request generates dynamic scene information resources;
Dynamic scene information resources sending module 120, for the dynamic scene information resources to be sent to second terminal,
The dynamic scene information resources are used to indicate the second terminal and show corresponding dynamic scene information;
State updates request receiving module 130, if updating request for receiving the state that the second terminal is sent,
The state is updated into request and is sent to the first terminal;
Current state information obtains module 140, updates request feedback according to the state for receiving the first terminal
Current state information, and send it to the second terminal, the current state information is used to indicate the second terminal
By the corresponding update of the state parameter of display.
Optionally, information push request receiving module 110 includes:
First parameter judging unit, if judging state parameter for detecting that information push request includes state parameter
It whether include preset state keyword.
Status control selection unit is chosen and is closed with preset state if including preset state keyword for state parameter
The matched state scene control of keyword.
First control processing unit, for generating corresponding dynamic scene information resources according to state scene control.
Optionally, information push request receiving module 110 includes:
Second parameter judging unit, if judging timing parameter for detecting that information push request includes timing parameter
Keyword when whether including pre-designed.
Timing control selection unit, if for timing parameter include it is pre-designed when keyword, choose with it is pre-designed when close
The matched timing scene control of keyword.
Second control processing unit, for generating corresponding dynamic scene information resources according to timing scene control.
Optionally, information push request receiving module 110 includes:
Scene template selection unit, the information type for including for obtaining information push request, it is corresponding to choose information type
Scene template.
Scene control selection unit, the parameter for including for obtaining information push request, the corresponding scene control of Selecting All Parameters
Part.
Configuration file selection unit, for obtaining the corresponding initial dynamic scene information configuration file of scene template and information
Position mapping table.
File destination generation unit, for according to information position mapping table, parameter and scene control to be inserted into just initiating
Corresponding position in state scene information configuration file obtains target dynamic scene information configuration file.
Dynamic scene information generating unit, for being based on scene template, operational objective dynamic scene information configuration file is raw
At dynamic scene information.
Dynamic resource generation unit, for generating dynamic scene information resources, dynamic scene information resources include dynamic field
The download address of scape information.
In one embodiment, server 100 further includes other function module/unit, for realizing dynamic scene information
Method and step in the corresponding embodiment of the method for transmission.
Fig. 3 shows the implementation process of the display methods of the dynamic scene information of one embodiment of the present of invention offer, this
The process executing subject of inventive embodiments can be second terminal, and details are as follows for process:
In step s 201, the dynamic scene information resources that server is sent are received.
In the present embodiment, after sending child servers generation dynamic scene information resources, the address of second terminal is obtained
The dynamic scene information resources of generation are sent to the corresponding second terminal in address got by (for example, cell-phone number).
Wherein, the address of second terminal is provided by first terminal.
In step S202, dynamic scene information is generated according to dynamic scene information resources.
In the present embodiment, after second terminal receives the dynamic scene information resources for sending child servers transmission, inspection
The content that dynamic scene information resources include is surveyed, if it includes dynamic scene letter that second terminal, which detects dynamic scene information resources only,
The download address of breath then directly downloads corresponding dynamic scene information from downloading child servers according to the download address.If second
Terminal detects that dynamic scene information resources include parameter, initial dynamic scene information configuration file, information position mapping table, field
The download address of scape template and the download address of scene control, then second terminal is according to the download address and scene control of scene template
The download address of part downloads corresponding scene template from downloading child servers and scene control, second terminal are reflected according to information position
Parameter and scene control are inserted into the corresponding position in initial dynamic scene information configuration file, obtain target dynamic by firing table
Scene information configuration file, is based on scene template, and operational objective dynamic scene information configuration file generates dynamic scene information.
If second terminal detects that dynamic scene information resources are reflected comprising parameter, initial dynamic scene information configuration file, information position
Parameter and scene control are inserted into initial dynamic field then according to information position mapping table by firing table, scene template and scene control
Corresponding position in scape information configuration file obtains target dynamic scene information configuration file, is based on scene template, operational objective
Dynamic scene information configuration file generates dynamic scene information.
In the present embodiment, if second terminal detects that received dynamic scene information resources are not only comprising dynamic scene
The download address of information, then second terminal itself utilizes corresponding file generated dynamic scene information, is locally completing dynamic
The drafting of scene information reduces the workload for sending child servers.
In step S203, dynamic scene information is shown in the default page.
In the present embodiment, dynamic scene information is shown that, in the default page, the default page can be the short message page.
In step S204, if the state parameter that the default page includes, state is generated according to state parameter and updates request,
And state is updated into request and is sent to server.
In the present embodiment, if dynamic scene information includes state parameter, that is, the default page of dynamic scene information is shown
Comprising state parameter, then second terminal generates state update request according to the state parameter that the default page includes, and state is updated
Request is sent to control child servers.
In step S205, the current state information of server feedback is received, and state parameter is believed according to current state
Breath is updated.
In the present embodiment, after control child servers, which receive state, updates request, which is updated into request transmission
To first terminal, first terminal updates request from the state and extracts state parameter, and obtains the corresponding current shape of state parameter
The current state information is sent to second terminal by controlling child servers by state information, and second terminal will be on the default page
State parameter carries out corresponding update according to current state information.
In the present embodiment, state parameter has corresponding initial state information, and second terminal is asked in the update of not sent state
It asks to when controlling child servers, i.e., just shows scenario resources after the default page, the state parameter that the default page is shown is corresponding
Status information be initial state information.
By taking a concrete application scene as an example, state parameter is that express delivery dispenses state, and express delivery dispenses the original state of state
Logistics information has not been obtained in information, and second terminal generates state update and requests to obtain the last state of express delivery dispatching state, the
The state is updated request and is sent to first terminal by controlling child servers by two terminals, and receives the express delivery of first terminal feedback
The current state information of dispatching state, for example, current state information is in transport, the default page of first terminal detection shows fast
Whether identical as current state information the corresponding status information of dispatching state is passed, if they are the same, then without being updated, due to first
Terminal detects that the express delivery dispatching state that the default page shows is that logistics information has not been obtained, and the current state information received
For that in transport, then logistics information will have not been obtained and be updated in transport.
In the present embodiment, second terminal generates state update request according to the state parameter on the default page, until will
The state information updating of state parameter is corresponding preset termination status information.Second terminal receive control child servers it is anti-
After the current state information of the state parameter of feedback, whether detection current state information is to change the corresponding preset termination shape of state parameter
State information, if preset termination status information, then by the state parameter according to current state information after, just stop transmission state
Control child servers are updated request to, i.e., the state parameter has been completed update, to reduce useless by constantly sending
State updates the waste of request bring resource.
By taking a concrete application scene as an example, state parameter is that express delivery dispenses state, and it is corresponding default that express delivery dispenses state
Final state information is to have signed for, when second terminal receives working as the express delivery dispatching state of control child servers feedback for the first time
Preceding status information is to have signed for, then by the corresponding state information updating of express delivery dispatching state on the default page to have signed for, and
Stop generating the corresponding state update request of express delivery dispatching state.
In the present embodiment, if dynamic scene information includes timing parameter, that is, the default page of dynamic scene information is shown
Comprising timing parameter, then second terminal automatically updates timing parameter according to timing time, for example, when timing parameter is monthly card residue
Between, according to timing time, monthly card remaining time is constantly updated, for example, monthly card remaining time is initially 30 days, when by one day
Afterwards, then updating monthly card remaining time is 29 days, and timing parameter can be updated automatically by second terminal.
In the present embodiment, the data that second terminal can include according to dynamic scene information resources correspondingly generate dynamic
Scene information, even scenario resources only include the download address of dynamic scene information resources, then directly want that downloading child servers asks
Seek the corresponding dynamic scene information of the download address, if scenario resources do not include download address and include other data (for example,
Initial dynamic scene information configuration file), then second terminal is according to the data in the drafting for locally realizing dynamic scene information.
Optionally, if the preset some dynamic scene information models of mobile terminal, need to only scene be believed by sending child servers
Breath template ID is sent to second terminal, and second terminal obtains the corresponding scene information template of scene information template ID from local, keeps away
Secondary downloading is exempted from.
Wherein, preset scene information template includes pre-stored scene information template or the scene downloaded before
Information model.
As shown in figure 4, the second terminal 200 that one embodiment of the present of invention provides, for executing implementation corresponding to Fig. 3
Method and step in example comprising:
Dynamic scene information resources receiving module 210, for receiving the dynamic scene information resources of server transmission.
Dynamic scene information generating module 220, for generating dynamic scene information according to dynamic scene information resources.
Dynamic scene information display module 230, for showing dynamic scene information in the default page.
Request generation module 240 is updated, the state parameter for including according to the page is preset generates state and updates request,
And state is updated into request and is sent to server.
State information updating module 250, for receiving the current state information of server feedback, and by state parameter according to
Current state information is updated.
In one embodiment, second terminal 200 further includes other function module/unit, for realizing above-mentioned dynamic field
The step of corresponding each embodiment of the display methods of scape information includes.
Fig. 5 is the schematic diagram for the server that one embodiment of the present of invention provides.As shown in figure 5, the service of the embodiment
Device 100 includes: including processor 50, memory 51 and to be stored in the calculating that can be run in memory 51 and on processor 50
Machine program 52, the processor 50 realize the sending method of the scene information corresponding each when executing the computer program
Step in embodiment, such as step S101 shown in FIG. 1 to step S104.Alternatively, the processor 50 executes the calculating
The function of each module in each Installation practice as shown in Figure 2 is realized when machine program, server 100 can be desktop meter
Calculation machine, notebook, palm PC and cloud server etc. calculate equipment.The server 100 may include, but be not limited only to, place
Manage device 50, memory 51.Such as the server 100 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the server 100, such as the hard disk or interior of server 100
It deposits.The memory 51 is also possible to the External memory equipment of the server 100, such as is equipped on the terminal device slotting
Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory
Block (Flash Card) etc..Further, the memory 51 can also both include the internal storage unit of server 100 or wrap
Include External memory equipment.The memory 51 is for storing needed for the computer program and the server 100 other
Program and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
Fig. 6 is the schematic diagram for the second terminal that one embodiment of the present of invention provides.As shown in fig. 6, the shifting of the embodiment
Dynamic terminal 200 includes: including processor 60, memory 61 and to be stored in memory 61 and can run on processor 60
Computer program 62, the processor 60 realize that the display methods such as the scene information is corresponding when executing the computer program
Each embodiment in step and embodiment 3 described in step in each embodiment, such as step S201 shown in Fig. 3 is extremely
Step S205.Alternatively, the processor 60 is realized in each Installation practice as shown in Figure 4 when executing the computer program
Each module function, mobile terminal 200 can be desktop PC, notebook, palm PC and cloud server etc. meter
Calculate equipment.The mobile terminal 200 may include, but be not limited only to, processor 60, memory 61.Such as the mobile terminal 200
It can also include input-output equipment, network access equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 61 can be the internal storage unit of the mobile terminal 200, such as the hard disk of mobile terminal 200
Or memory.The memory 61 is also possible to the External memory equipment of the mobile terminal 200, such as matches on the terminal device
Standby plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)
Card, flash card (Flash Card) etc..Further, the memory 61 can also have been deposited both the inside including mobile terminal 200
Storage unit also includes External memory equipment.The memory 61 is for storing the computer program and the mobile terminal
Other programs and data needed for 200.The memory 61, which can be also used for temporarily storing, have been exported or will export
Data.
One embodiment of the present of invention additionally provides a kind of computer readable storage medium, and computer readable storage medium is deposited
The step of containing computer program, the sending method of scene information is realized when computer program is executed by processor or scene information
Display methods the step of, such as step S101 shown in FIG. 1 to step S104 or step S201 shown in Fig. 3 is to step
S205.Alternatively, realizing the function of each module in each Installation practice described in 2 when the computer program is executed by processor
Can, for example, module 110 to 140 shown in Fig. 2 function or module 210 to 250 shown in Fig. 4 function.
The computer program can be stored in a computer readable storage medium, and the computer program is by processor
When execution, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code,
The computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..Institute
State computer-readable medium may include: can carry the computer program code any entity or device, recording medium,
USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..The present invention
Step in embodiment method can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in system of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (10)
1. a kind of sending method of dynamic scene information, which is characterized in that be applied to server, the hair of the dynamic scene information
Delivery method includes:
It receives the information that first terminal is sent and pushes request, and request is pushed according to the information and generates dynamic scene information money
Source;
The dynamic scene information resources are sent to second terminal, the dynamic scene information resources are used to indicate described second
Terminal shows corresponding dynamic scene information;
If receiving the state that the second terminal is sent updates request, the state is updated into request and is sent to described first
Terminal;
It receives the first terminal and updates the current state information of request feedback according to the state, and send it to described the
Two terminals, the current state information are used to indicate the second terminal for the corresponding update of the state parameter of display.
2. the sending method of dynamic scene information as described in claim 1, which is characterized in that described to be pushed according to the information
Request generates dynamic scene information resources, comprising:
If detecting, the information push request includes state parameter, judges whether the state parameter includes that preset state is closed
Keyword;
If the state parameter includes preset state keyword, the state scene control with preset state Keywords matching is chosen
Part;
Corresponding dynamic scene information resources are generated according to the state scene control.
3. the sending method of dynamic scene information as described in claim 1, which is characterized in that described to be pushed according to the information
Request generates dynamic scene information resources, comprising:
If detecting, the information push request includes timing parameter, judges pass when whether the timing parameter includes pre-designed
Keyword;
If keyword when the timing parameter includes pre-designed, the timing scene control of Keywords matching when choosing and is pre-designed
Part;
Corresponding dynamic scene information resources are generated according to the timing scene control.
4. the sending method of dynamic scene information as described in claim 1, which is characterized in that described to be pushed according to the information
Request generates dynamic scene information resources, comprising:
The information type that the information push request includes is obtained, the corresponding scene template of the information type is chosen;
The parameter that the information push request includes is obtained, the corresponding scene control of the parameter is chosen;
Obtain the corresponding initial dynamic scene information configuration file of the scene template and information position mapping table;
According to information position mapping table, the parameter and the scene control are inserted into the initial dynamic scene information
Corresponding position in configuration file obtains target dynamic scene information configuration file;
Based on the scene template, the target dynamic scene information configuration file is run, generates the dynamic scene information;
Generate the dynamic scene information resources, the dynamic scene information resources include the downloading of the dynamic scene information
Location.
5. a kind of server characterized by comprising
Information pushes request receiving module, for receiving the information push request of first terminal transmission, and is pushed away according to the information
Request is sent to generate dynamic scene information resources;
Dynamic scene information resources sending module, it is described dynamic for the dynamic scene information resources to be sent to second terminal
State scene information resource is used to indicate the second terminal and shows corresponding dynamic scene information;
State updates request receiving module, will be described if updating request for receiving the state that the second terminal is sent
State updates request and is sent to the first terminal;
Current state information obtains module, updates the current shape that request is fed back according to the state for receiving the first terminal
State information, and the second terminal is sent it to, the current state information is used to indicate the second terminal for display
State parameter is corresponding to be updated.
6. a kind of server, including memory, processor and storage can transport in the memory and on the processor
Capable computer program, which is characterized in that the processor realizes that Claims 1-4 such as is appointed when executing the computer program
The step of sending method of dynamic scene information described in one.
7. a kind of display methods of dynamic scene information, which is characterized in that it is applied to second terminal, the dynamic scene information
Display methods includes:
Receive the dynamic scene information resources that server is sent;
Dynamic scene information is generated according to the dynamic scene information resources;
The dynamic scene information is shown in the default page;
If the default page includes state parameter, state is generated according to the state parameter and updates request, and by the shape
State updates request and is sent to server;
The current state information of the server feedback is received, and the state parameter is carried out according to the current state information
It updates.
8. a kind of second terminal characterized by comprising
Dynamic scene information resources receiving module, for receiving the dynamic scene information resources of server transmission;
Dynamic scene information generating module, for generating dynamic scene information according to the dynamic scene information resources;
Dynamic scene information display module, for showing the dynamic scene information in the default page;
Request generation module is updated, if including state parameter for the default page, shape is generated according to the state parameter
State updates request, and the state is updated request and is sent to server;
State information updating module is pressed for receiving the current state information of the server feedback, and by the state parameter
It is updated according to the current state information.
9. a kind of second terminal, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor is realized as claimed in claim 7 when executing the computer program
Dynamic scene information display methods the step of.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the sending method of dynamic scene information of the realization as described in Claims 1-4 when the computer program is executed by processor
The step of or dynamic scene information as claimed in claim 7 display methods the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810946866.XA CN109150694B (en) | 2018-08-20 | 2018-08-20 | Dynamic scene information sending method, dynamic scene information display method, server and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810946866.XA CN109150694B (en) | 2018-08-20 | 2018-08-20 | Dynamic scene information sending method, dynamic scene information display method, server and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109150694A true CN109150694A (en) | 2019-01-04 |
CN109150694B CN109150694B (en) | 2021-01-05 |
Family
ID=64790305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810946866.XA Active CN109150694B (en) | 2018-08-20 | 2018-08-20 | Dynamic scene information sending method, dynamic scene information display method, server and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109150694B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430233A (en) * | 2019-06-28 | 2019-11-08 | 平安科技(深圳)有限公司 | Document scene method for uploading, device, computer equipment and storage medium |
CN111416760A (en) * | 2020-03-30 | 2020-07-14 | 京东方科技集团股份有限公司 | Information synchronization method, terminal and information synchronization system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1786173A2 (en) * | 2003-01-22 | 2007-05-16 | Nec Corporation | Dynamic buddy list generation method |
CN102957748A (en) * | 2012-11-07 | 2013-03-06 | 广东威创视讯科技股份有限公司 | Dynamic update method and system for three-dimensional scene |
CN105791291A (en) * | 2016-03-02 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Display control method for network application and real-time display update method and device |
CN106649518A (en) * | 2016-10-17 | 2017-05-10 | 腾讯科技(深圳)有限公司 | Method and apparatus for processing dynamic information data |
CN107800761A (en) * | 2017-09-04 | 2018-03-13 | 武汉票据交易中心有限公司 | Client dynamic refresh method and system in a kind of bill business |
-
2018
- 2018-08-20 CN CN201810946866.XA patent/CN109150694B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1786173A2 (en) * | 2003-01-22 | 2007-05-16 | Nec Corporation | Dynamic buddy list generation method |
CN102957748A (en) * | 2012-11-07 | 2013-03-06 | 广东威创视讯科技股份有限公司 | Dynamic update method and system for three-dimensional scene |
CN105791291A (en) * | 2016-03-02 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Display control method for network application and real-time display update method and device |
CN106649518A (en) * | 2016-10-17 | 2017-05-10 | 腾讯科技(深圳)有限公司 | Method and apparatus for processing dynamic information data |
CN107800761A (en) * | 2017-09-04 | 2018-03-13 | 武汉票据交易中心有限公司 | Client dynamic refresh method and system in a kind of bill business |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430233A (en) * | 2019-06-28 | 2019-11-08 | 平安科技(深圳)有限公司 | Document scene method for uploading, device, computer equipment and storage medium |
CN110430233B (en) * | 2019-06-28 | 2023-01-10 | 平安科技(深圳)有限公司 | Scene file uploading method and device, computer equipment and storage medium |
CN111416760A (en) * | 2020-03-30 | 2020-07-14 | 京东方科技集团股份有限公司 | Information synchronization method, terminal and information synchronization system |
CN111416760B (en) * | 2020-03-30 | 2022-11-08 | 京东方科技集团股份有限公司 | Information synchronization method, terminal and information synchronization system |
Also Published As
Publication number | Publication date |
---|---|
CN109150694B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107784086B (en) | Webpage loading method, terminal equipment and computer readable storage medium | |
CN108259553A (en) | The sending method and terminal device of business mail | |
CN113268261B (en) | Page content display method and device and electronic equipment | |
CN110472207A (en) | List generation method and device | |
CN109347898A (en) | Sending method, display methods and the server and mobile terminal of scene information | |
CN112764751A (en) | Interface generation method and device, interface request method and device and storage medium | |
CN110084567A (en) | E-seal application method, device, equipment and computer readable storage medium | |
CN110019539A (en) | A kind of method and apparatus that the data of data warehouse are synchronous | |
CN109150694A (en) | Sending method, display methods and the server and mobile terminal of dynamic scene information | |
CN109348434A (en) | A kind of sending method of scene information, sending device and terminal device | |
CN110276605B (en) | Rule generation method and device, electronic equipment and readable storage medium | |
CN109960212A (en) | Task sending method and device | |
CN112835700B (en) | Data processing method, device, equipment and storage medium based on intelligent contract | |
CN109683957A (en) | The method and apparatus of Function Extension | |
CN105554254A (en) | Notification message processing method and device | |
CN111045928A (en) | Interface data testing method, device, terminal and storage medium | |
CN112947919A (en) | Method and device for constructing service model and processing service request | |
CN112990991A (en) | Method and device for merging invoices | |
CN109857374A (en) | The development approach and device of mobile application | |
CN114371874A (en) | Configuration method, system, device and medium of Internet of things equipment | |
CN111813529B (en) | Data processing method, device, electronic equipment and storage medium | |
CN114385570A (en) | Data synchronization method and device, electronic equipment and readable medium | |
CN117435215A (en) | Development environment deployment method, system, computer device and storage medium | |
CN109905435A (en) | Resource subscription method and system, storage medium, electronic equipment | |
CN114866970A (en) | Policy control method, system and related equipment |
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 |